]> granicus.if.org Git - shadow/commitdiff
do_pam_passwd should not have been defined static, prototypes.h needed
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 5 Jan 2008 15:41:58 +0000 (15:41 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 5 Jan 2008 15:41:58 +0000 (15:41 +0000)
to be included instead.

libmisc/pam_pass.c

index 09b460b5c4f65579c1367d9ffce0eca8064bfdfd..831bc682f788bf9e19d751e69850c44b0fcadcee 100644 (file)
 #include <sys/types.h>
 #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;