svn commit: trunk/uClibc/utils

vapier at uclibc.org vapier at uclibc.org
Fri May 26 01:34:09 UTC 2006


Author: vapier
Date: 2006-05-25 18:34:08 -0700 (Thu, 25 May 2006)
New Revision: 15174

Log:
the 16/32 swap funcs were swapped #875

Modified:
   trunk/uClibc/utils/bswap.h


Changeset:
Modified: trunk/uClibc/utils/bswap.h
===================================================================
--- trunk/uClibc/utils/bswap.h	2006-05-26 01:18:09 UTC (rev 15173)
+++ trunk/uClibc/utils/bswap.h	2006-05-26 01:34:08 UTC (rev 15174)
@@ -33,12 +33,12 @@
 #include <byteswap.h>
 #else
 
-static inline uint32_t bswap_32(uint32_t x)
+static inline uint16_t bswap_16(uint16_t x)
 {
 	return ((((x) & 0xff00) >> 8) | \
 	        (((x) & 0x00ff) << 8));
 }
-static inline uint16_t bswap_16(uint16_t x)
+static inline uint32_t bswap_32(uint32_t x)
 {
 	return ((((x) & 0xff000000) >> 24) | \
 	        (((x) & 0x00ff0000) >>  8) | \




More information about the uClibc-cvs mailing list