Commit graph

6 commits

Author SHA1 Message Date
Adam Dunkels 944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
adamdunkels 5585d72c86 A simple but substantial change: uIP used the htons()/HTONS() macro
functions for converting between host and network byte order. These
names are the de facto standard names for this functionality because
of the original BSD TCP/IP implementation. But they cause problems for
uIP/Contiki: some platforms define these names themselves (Mac OS,
most notably), causing compilation problems for Contiki on those
platforms.

This commit changes all htons to uip_htons instead. Same goes for
htonl, ntohs, and ntohl. All-caps versions as well.
2010-10-19 18:29:03 +00:00
adamdunkels abe482713b Bugfix: rewrote the switch() statement into an if/else sequence. Protothreads and switches do not mix well. 2008-11-28 00:15:43 +00:00
oliverschmidt 84272a3dcb Removed compiler warnings. 2007-11-18 00:57:44 +00:00
oliverschmidt 7d0371fa0a Avoid compiler warnings. 2006-08-21 21:39:01 +00:00
adamdunkels c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00