[Tinyos-help] need help..
Neelam Chaubey
neelam.bitsg at gmail.com
Wed Nov 26 00:02:47 PST 2008
Hi
This particular code is header file which iam using in the testhc.c code .
but when i compile it gives the error
expected ' ) ' before ' * ' token
#ifndef _LIB6LOWPANIP_H_
#define _LIB6LOWPANIP_H_
#include "IP.h"
/*
* This file presents an interface for parsing IP and UDP headers in a
* 6loWPAN packet.
*/
extern uint8_t globalPrefix;
extern ip6_addr_t my_address;
extern uint8_t multicast_prefix[8];
uint8_t cmpPfx(ip6_addr_t a, uint8_t *pfx);
int getCompressedLen(packed_lowmsg_t *pkt);
uint8_t *packHeaders(struct ip_msg_t *msg, uint8_t *buf, uint8_t len);
int packs_header(struct ip_msg_t *msg);
#endif
It gives an error saying
"expected ' ) ' before '*' token"
for line 21 and 22 of this header filewhich iam including in the testhc.c
code which are indicated by yellow can u please explain me where am i going
wrong.
--
Neelam Chaubey
Indrion Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081126/12b601d0/attachment.htm
More information about the Tinyos-help
mailing list