diff --git a/ChangeLog b/ChangeLog index 247706ff..6fbd48c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -2009-04-06 Nicolas François +2009-04-11 Nicolas François + + * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c. + +2009-04-11 Nicolas François * po/POTFILES.in: Added missing files. Sorted. diff --git a/lib/Makefile.am b/lib/Makefile.am index f9934795..e1b34371 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -38,6 +38,7 @@ libshadow_la_SOURCES = \ pwmem.c \ sgetgrent.c \ sgetpwent.c \ + sgetspent.c \ sgroupio.c \ sgroupio.h\ shadow.c \ diff --git a/lib/prototypes.h b/lib/prototypes.h index 7a057ebb..8a6eead9 100644 --- a/lib/prototypes.h +++ b/lib/prototypes.h @@ -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);