[NET]: Endian-annotate in_aton()
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 6 Jan 2006 21:24:54 +0000 (13:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Jan 2006 21:24:54 +0000 (13:24 -0800)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inet.h
net/core/utils.c

index 3b5e9fd..6c5587a 100644 (file)
@@ -45,6 +45,6 @@
 #ifdef __KERNEL__
 #include <linux/types.h>
 
-extern __u32 in_aton(const char *str);
+extern __be32 in_aton(const char *str);
 #endif
 #endif /* _LINUX_INET_H */
index 587eb77..ac1d1fc 100644 (file)
@@ -162,7 +162,7 @@ EXPORT_SYMBOL(net_srandom);
  * is otherwise not dependent on the TCP/IP stack.
  */
 
-__u32 in_aton(const char *str)
+__be32 in_aton(const char *str)
 {
        unsigned long l;
        unsigned int val;