From: Daniel Walton Date: Fri, 27 May 2016 14:31:41 +0000 (+0000) Subject: vtysh: vtysh_pam() needs an ifdef USE_PAM check X-Git-Tag: frr-2.0-rc1~667 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=21c830a4aeb30b4086dfef0ebb07d15c05fa584c;p=matthieu%2Ffrr.git vtysh: vtysh_pam() needs an ifdef USE_PAM check Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp --- 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 *);