* include/asm/byteorder.h (__ntohl): Fix the missing uint32_t.

This commit is contained in:
Corinna Vinschen 2006-04-21 14:29:54 +00:00
parent 00c2208858
commit 053fc4771a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-04-21 Lars Munch <lars@segv.dk>
* include/asm/byteorder.h (__ntohl): Fix the missing uint32_t.
2006-04-21 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::wait): Reorder setting

View File

@ -36,7 +36,7 @@ extern __inline__ uint32_t __constant_ntohl(uint32_t);
extern __inline__ uint16_t __constant_ntohs(uint16_t);
extern __inline__ uint32_t
__ntohl(unsigned long int x)
__ntohl(uint32_t x)
{
__asm__("xchgb %b0,%h0\n\t" /* swap lower bytes */
"rorl $16,%0\n\t" /* swap words */