[Pkg-shadow-commits] r2613 - in upstream/trunk: . lib
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Fri Apr 10 22:34:29 UTC 2009
Author: nekral-guest
Date: 2009-04-10 22:34:29 +0000 (Fri, 10 Apr 2009)
New Revision: 2613
Modified:
upstream/trunk/ChangeLog
upstream/trunk/lib/prototypes.h
Log:
* lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
NOT defined.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2009-04-10 22:34:23 UTC (rev 2612)
+++ upstream/trunk/ChangeLog 2009-04-10 22:34:29 UTC (rev 2613)
@@ -1,5 +1,10 @@
2009-04-06 Nicolas François <nicolas.francois at 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 at centraliens.net>
+
* src/passwd.c: Replace getnumber() by getlong(). This permits to
get rid of another strtol().
Modified: upstream/trunk/lib/prototypes.h
===================================================================
--- upstream/trunk/lib/prototypes.h 2009-04-10 22:34:23 UTC (rev 2612)
+++ upstream/trunk/lib/prototypes.h 2009-04-10 22:34:29 UTC (rev 2613)
@@ -235,7 +235,7 @@
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
More information about the Pkg-shadow-commits
mailing list