]> granicus.if.org Git - shadow/commitdiff
* lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 10 Apr 2009 22:34:29 +0000 (22:34 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 10 Apr 2009 22:34:29 +0000 (22:34 +0000)
NOT defined.

ChangeLog
lib/prototypes.h

index 3d3cf4347bac9b480651d5ad099e7b920aa665f9..e924dc1bb95df11b39b6835495b7731838050f70 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
+       NOT defined.
+
 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/passwd.c: Replace getnumber() by getlong(). This permits to
index f4e6a8aea19869926c3d80652b2aa124a6c639c3..7a057ebb4381cd463b8d0a83fcf65633c6270165 100644 (file)
@@ -235,7 +235,7 @@ extern void do_pam_passwd (const char *user, bool silent, bool change_expired);
 extern bool isttytime (const char *, const char *, time_t);
 
 /* pwd2spwd.c */
-#ifdef USE_PAM
+#ifndef USE_PAM
 extern struct spwd *pwd_to_spwd (const struct passwd *);
 #endif