* include/asm/byteorder.h (__ntohl): Fix the missing uint32_t.
This commit is contained in:
parent
00c2208858
commit
053fc4771a
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue