X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fbyteorder%2Fgeneric.h;h=5fde6f4d6c1e3692b0abd52945e48721f428410d;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=5f33f565d7bf99891b934f0f4e9da7900d36cb84;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/linux/byteorder/generic.h b/include/linux/byteorder/generic.h index 5f33f565d..5fde6f4d6 100644 --- a/include/linux/byteorder/generic.h +++ b/include/linux/byteorder/generic.h @@ -147,10 +147,10 @@ * Do the prototypes. Somebody might want to take the * address or some such sick thing.. */ -extern __u32 ntohl(__u32); -extern __u32 htonl(__u32); -extern unsigned short int ntohs(unsigned short int); -extern unsigned short int htons(unsigned short int); +extern __u32 ntohl(__be32); +extern __be32 htonl(__u32); +extern __u16 ntohs(__be16); +extern __be16 htons(__u16); #if defined(__GNUC__) && (__GNUC__ >= 2) && defined(__OPTIMIZE__)