summaryrefslogtreecommitdiff
path: root/vtysh/vtysh_user.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-11 13:20:40 +0000
committerhasso <hasso>2004-10-11 13:20:40 +0000
commit5862ff529effd26414827a6692c1e841ebb189a0 (patch)
tree01ea1296de8aa787e00c199cdc054e76c895ecf3 /vtysh/vtysh_user.c
parentf90a5f6f1a6c1c1a4199a87a6202fe3edc9f7520 (diff)
Fix warnings here.
Diffstat (limited to 'vtysh/vtysh_user.c')
-rw-r--r--vtysh/vtysh_user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c
index 92330103..f84cca83 100644
--- a/vtysh/vtysh_user.c
+++ b/vtysh/vtysh_user.c
@@ -46,7 +46,7 @@ static struct pam_conv conv =
};
int
-vtysh_pam (char *user)
+vtysh_pam (const char *user)
{
int ret;
pam_handle_t *pamh = NULL;
@@ -114,7 +114,7 @@ user_free (struct user *user)
}
struct user *
-user_lookup (char *name)
+user_lookup (const char *name)
{
struct listnode *nn;
struct user *user;
@@ -141,7 +141,7 @@ user_config_write ()
}
struct user *
-user_get (char *name)
+user_get (const char *name)
{
struct user *user;
user = user_lookup (name);