diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-09-04 20:21:23 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-05-26 17:33:31 +0200 |
commit | 4e6a053468cf37bbf3f01e7cb28cb3ad80fefb41 (patch) | |
tree | 58c9d7f663ee59d9be27727494bc5e6542ba6826 /vtysh/vtysh_user.c | |
parent | bgpd: Addition of "show ip bgp dampening" command tree (diff) | |
download | frr-4e6a053468cf37bbf3f01e7cb28cb3ad80fefb41.tar.xz frr-4e6a053468cf37bbf3f01e7cb28cb3ad80fefb41.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c index 3e7726423..098e10ce4 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; |