From 908c6b627f2c51f57db0dd3bff7b7577b14d0e71 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 20 Oct 2010 07:16:58 -0400 Subject: string_to_ip: constify "s" arg Signed-off-by: Mike Frysinger --- include/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/net.h') diff --git a/include/net.h b/include/net.h index 5e3495b..95ef8ab 100644 --- a/include/net.h +++ b/include/net.h @@ -514,7 +514,7 @@ static inline int is_valid_ether_addr(const u8 *addr) extern void ip_to_string (IPaddr_t x, char *s); /* Convert a string to ip address */ -extern IPaddr_t string_to_ip(char *s); +extern IPaddr_t string_to_ip(const char *s); /* Convert a VLAN id to a string */ extern void VLAN_to_string (ushort x, char *s); -- cgit v1.1