commit | 8965be4baaa1a4c619cbb4a8a10d15a72d80b60d | [log] [tgz] |
---|---|---|
author | Donald Sharp <sharpd@cumulusnetworks.com> | Fri Sep 04 14:21:23 2015 -0400 |
committer | Paul Jakma <paul@quagga.net> | Thu Sep 24 15:26:45 2015 +0100 |
tree | 86d0e591d014f4d6a7f1f6b69fd85e1fef3bfdd0 | |
parent | 567a638fc7aee31c9421159140b8e18b83a099b3 [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>
diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c index e1c611c..7e10d68 100644 --- a/vtysh/vtysh_user.c +++ b/vtysh/vtysh_user.c
@@ -46,7 +46,7 @@ NULL }; -int +static int vtysh_pam (const char *user) { int ret;