From 21c830a4aeb30b4086dfef0ebb07d15c05fa584c Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Fri, 27 May 2016 14:31:41 +0000 Subject: [PATCH] vtysh: vtysh_pam() needs an ifdef USE_PAM check Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp --- vtysh/vtysh_user.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c index 551aac1bfa..e65b7bb118 100644 --- a/vtysh/vtysh_user.c +++ b/vtysh/vtysh_user.c @@ -44,7 +44,9 @@ * The DEFUNSH and DEFUN macro's are messing with the * compiler I believe. This is just to make it happy. */ +#ifdef USE_PAM static int vtysh_pam(const char *); +#endif struct vtysh_user *user_new(void); void user_free(struct vtysh_user *); struct vtysh_user *user_lookup(const char *); -- 2.39.5