+2004-10-11 Hasso Tepper <hasso at quagga.net>
+
+ * vtysh.c, vtysh_user.c: Make more strings const.
+
2004-10-07 Hasso Tepper <hasso at quagga.net>
* vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler
/* Execute command in child process. */
int
-execute_command (const char *command, int argc, char *arg1, char *arg2)
+execute_command (const char *command, int argc, const char *arg1,
+ const char *arg2)
{
int ret;
pid_t pid;
};
int
-vtysh_pam (char *user)
+vtysh_pam (const char *user)
{
int ret;
pam_handle_t *pamh = NULL;
}
struct user *
-user_lookup (char *name)
+user_lookup (const char *name)
{
struct listnode *nn;
struct user *user;
}
struct user *
-user_get (char *name)
+user_get (const char *name)
{
struct user *user;
user = user_lookup (name);