summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-01-06 13:24:54 -0800
committerDavid S. Miller <davem@davemloft.net>2006-01-06 13:24:54 -0800
commita2167dc62e9142b9a4bfb20f7e001c0f0a26fd8c (patch)
treec6f2a4206952e51f765f3e7ef84892746579501c /net/core
parent76ab608d86cf1ef5c5c46819b5733eb9f9f964f8 (diff)
downloadkernel-common-a2167dc62e9142b9a4bfb20f7e001c0f0a26fd8c.tar.gz
kernel-common-a2167dc62e9142b9a4bfb20f7e001c0f0a26fd8c.tar.bz2
kernel-common-a2167dc62e9142b9a4bfb20f7e001c0f0a26fd8c.zip
[NET]: Endian-annotate in_aton()
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/utils.c b/net/core/utils.c
index 587eb7787deb..ac1d1fcf8673 100644
--- a/net/core/utils.c
+++ b/net/core/utils.c
@@ -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;