summaryrefslogtreecommitdiff
path: root/vtysh/vtysh_user.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-09-04 14:21:23 -0400
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-05-26 15:33:31 +0000
commit4e6a053468cf37bbf3f01e7cb28cb3ad80fefb41 (patch)
tree58c9d7f663ee59d9be27727494bc5e6542ba6826 /vtysh/vtysh_user.c
parent81304aafbc1102f51d09178e27f99cc271bb608a (diff)
vtysh: allow --with-libpam to build with --enable-werror
The function vtysh_pam fails the build with --enable-werror enabled because it is a static function not declared as such Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> (cherry picked from commit 8965be4baaa1a4c619cbb4a8a10d15a72d80b60d)
Diffstat (limited to 'vtysh/vtysh_user.c')
-rw-r--r--vtysh/vtysh_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c
index 3e77264235..098e10ce40 100644
--- a/vtysh/vtysh_user.c
+++ b/vtysh/vtysh_user.c
@@ -62,7 +62,7 @@ static struct pam_conv conv =
NULL
};
-int
+static int
vtysh_pam (const char *user)
{
int ret;