[NET]: Endian-annotate in_aton()

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Alexey Dobriyan 2006-01-06 13:24:54 -08:00 committed by David S. Miller
parent 76ab608d86
commit a2167dc62e
2 changed files with 2 additions and 2 deletions

View File

@ -45,6 +45,6 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/types.h> #include <linux/types.h>
extern __u32 in_aton(const char *str); extern __be32 in_aton(const char *str);
#endif #endif
#endif /* _LINUX_INET_H */ #endif /* _LINUX_INET_H */

View File

@ -162,7 +162,7 @@ EXPORT_SYMBOL(net_srandom);
* is otherwise not dependent on the TCP/IP stack. * 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 long l;
unsigned int val; unsigned int val;