[Tinyos-host-mote-wg] Re: [Tinyos-2.0wg] #ifndef _H_ / #define _H_
...
Cory Sharp
cory.sharp at gmail.com
Fri Aug 12 16:58:06 PDT 2005
No problem about dropping the leading _.
I intentionally break the all-uppercase convention because I've been
bitten before by accidentally having two header filenames that differ
only in case. One was a system header file that I wasn't aware was
being indirectly included, the other was my own. The all uppercase
#ifdef on one prevented the other from being included. It was a long,
frustrating debug process that vowed never to go through again.
Cory
On 8/12/05, David Gay <dgay42 at gmail.com> wrote:
> Random comment:
> symbols starting with _ are reserved for use by C implementations - it
> would be better to use H_ (and all upper case...)
>
> David
>
> _______________________________________________
> Tinyos-2.0wg mailing list
> Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
>
>
_______________________________________________
Tinyos-2.0wg mailing list
Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
More information about the Tinyos-host-mote-wg
mailing list