]> granicus.if.org Git - shadow/commitdiff
* lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 10 Apr 2009 22:35:43 +0000 (22:35 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 10 Apr 2009 22:35:43 +0000 (22:35 +0000)
ChangeLog
lib/Makefile.am
lib/prototypes.h

index 247706ff2a6d8240b61cd9be8508073f10aa3e9e..6fbd48c2227f3b10c1b633baaca233320c34b3a0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
+2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.
+
+2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
 
        * po/POTFILES.in: Added missing files. Sorted.
 
index f993479562b6ee51b8afc02d3f53b40f9ee07090..e1b34371063e741ab9db90767365fd39c14eceb7 100644 (file)
@@ -38,6 +38,7 @@ libshadow_la_SOURCES = \
        pwmem.c \
        sgetgrent.c \
        sgetpwent.c \
+       sgetspent.c \
        sgroupio.c \
        sgroupio.h\
        shadow.c \
index 7a057ebb4381cd463b8d0a83fcf65633c6270165..8a6eead963cbaae42fb18a16a7aa1b3a4d2735e8 100644 (file)
@@ -283,6 +283,11 @@ extern struct group *sgetgrent (const char *buf);
 /* sgetpwent.c */
 extern struct passwd *sgetpwent (const char *buf);
 
+/* sgetspent.c */
+#ifndef HAVE_SGETSPENT
+extern struct spwd *sgetspent (const char *string)
+#endif
+
 /* sgroupio.c */
 extern void __sgr_del_entry (const struct commonio_entry *ent);
 extern struct sgrp *__sgr_dup (const struct sgrp *sgent);