diff options
| author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-05-27 14:31:41 +0000 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-05-27 14:31:41 +0000 |
| commit | 21c830a4aeb30b4086dfef0ebb07d15c05fa584c (patch) | |
| tree | 26e713dd93a1df29638a8ca2466e7219adb2ade1 /vtysh/vtysh_user.c | |
| parent | 52a51fd333258529aa98a0d35e7bf757cc645f2b (diff) | |
vtysh: vtysh_pam() needs an ifdef USE_PAM check
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'vtysh/vtysh_user.c')
| -rw-r--r-- | vtysh/vtysh_user.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 *); |
