vtysh: vtysh_pam() needs an ifdef USE_PAM check

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by:   Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Daniel Walton 2016-05-27 14:31:41 +00:00
parent 52a51fd333
commit 21c830a4ae

View File

@ -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 *);