summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:58 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:58 +0200
commitfe2d505d4df0ebae0e519abeb2cccfeb10ef80ac (patch)
tree3511c0d06d4de0cc65af6710d1e2bfae53e9e8b7 /include/net.h
parentdbf8680a0a9a983e8edd320d1ea812f7d6a1f1c8 (diff)
downloadbarebox-fe2d505d4df0ebae0e519abeb2cccfeb10ef80ac.tar.gz
barebox-fe2d505d4df0ebae0e519abeb2cccfeb10ef80ac.tar.xz
svn_rev_481
make more char * const, fix compiler warnings
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h
index 416de5a09e..a2e11850a3 100644
--- a/include/net.h
+++ b/include/net.h
@@ -415,7 +415,7 @@ IPaddr_t string_to_ip(const char *s);
void VLAN_to_string (ushort x, char *s);
/* Convert a string to a vlan id */
-ushort string_to_VLAN(char *s);
+ushort string_to_VLAN(const char *s);
/* read an IP address from a environment variable */
IPaddr_t getenv_IPaddr (char *);