From: nekral-guest Date: Sat, 5 Jan 2008 15:41:58 +0000 (+0000) Subject: do_pam_passwd should not have been defined static, prototypes.h needed X-Git-Tag: 4.1.1~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a4848c8cc9faabb12d5675ab7adda94836c8540;p=shadow do_pam_passwd should not have been defined static, prototypes.h needed to be included instead. --- diff --git a/libmisc/pam_pass.c b/libmisc/pam_pass.c index 09b460b5..831bc682 100644 --- a/libmisc/pam_pass.c +++ b/libmisc/pam_pass.c @@ -17,11 +17,9 @@ #include #include "defines.h" #include "pam_defs.h" +#include "prototypes.h" -/* local function prototypes */ -static void do_pam_passwd (const char *user, int silent, int change_expired); - -static void do_pam_passwd (const char *user, int silent, int change_expired) +void do_pam_passwd (const char *user, int silent, int change_expired) { pam_handle_t *pamh = NULL; int flags = 0, ret;