home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Serving the Web
/
ServingTheWeb1995.disc1of1.iso
/
linux
/
slacksrce
/
d
/
libc
/
libc-4.6
/
libc-4
/
libc-linux
/
sysdeps
/
i386
/
hton.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-08-30
|
346 b
|
27 lines
#include <ansidecl.h>
#include <netinet/in.h>
#undef ntohl
#undef ntohs
#undef htonl
#undef htons
unsigned long int
htonl(unsigned long int x)
{
return __htonl (x);
}
unsigned short int
htons(unsigned short int x)
{
return __htons (x);
}
#include <gnu-stabs.h>
#ifdef elf_alias
elf_alias (htonl, ntohl);
elf_alias (htons, ntohs);
#endif