Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2167dc6 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller
Browse files

[NET]: Endian-annotate in_aton()

parent 76ab608d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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;