[Pkg-shadow-commits] r1648 - upstream/trunk/libmisc

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Jan 5 15:41:58 UTC 2008


Author: nekral-guest
Date: 2008-01-05 15:41:58 +0000 (Sat, 05 Jan 2008)
New Revision: 1648

Modified:
   upstream/trunk/libmisc/pam_pass.c
Log:
do_pam_passwd should not have been defined static, prototypes.h needed
to be included instead.


Modified: upstream/trunk/libmisc/pam_pass.c
===================================================================
--- upstream/trunk/libmisc/pam_pass.c	2008-01-05 14:35:13 UTC (rev 1647)
+++ upstream/trunk/libmisc/pam_pass.c	2008-01-05 15:41:58 UTC (rev 1648)
@@ -17,11 +17,9 @@
 #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;




More information about the Pkg-shadow-commits mailing list