summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 07:16:48 -0400
committerWolfgang Denk <wd@denx.de>2010-11-28 21:56:12 +0100
commit2e3ef6e4e475ecd0f4dfe3888b98aa077ef790fe (patch)
tree566e1cc23c49ae7ea8d0f732ea521af082341b5f /include/net.h
parentb920ee9db254786ee909705d904ef509758afbdc (diff)
downloadu-boot-imx-2e3ef6e4e475ecd0f4dfe3888b98aa077ef790fe.zip
u-boot-imx-2e3ef6e4e475ecd0f4dfe3888b98aa077ef790fe.tar.gz
u-boot-imx-2e3ef6e4e475ecd0f4dfe3888b98aa077ef790fe.tar.bz2
string_to_VLAN: constify "var" arg
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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 dd673f0..5e3495b 100644
--- a/include/net.h
+++ b/include/net.h
@@ -520,7 +520,7 @@ extern IPaddr_t string_to_ip(char *s);
extern void VLAN_to_string (ushort x, char *s);
/* Convert a string to a vlan id */
-extern ushort string_to_VLAN(char *s);
+extern ushort string_to_VLAN(const char *s);
/* read a VLAN id from an environment variable */
extern ushort getenv_VLAN(char *);