Skip to content

Commit

Permalink
[NET]: Endian-annotate in_aton()
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and davem330 committed Jan 6, 2006
1 parent 76ab608 commit a2167dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/linux/inet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
2 changes: 1 addition & 1 deletion net/core/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a2167dc

Please sign in to comment.