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 <[email protected]>
---
 vtysh/vtysh_user.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ static struct pam_conv conv =
   NULL
 };
 
-int
+static int
 vtysh_pam (const char *user)
 {
   int ret;
-- 
1.7.10.4


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to