From 413bb19543e1421b9aa0575ec70b6775444d1284 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Fri, 10 Apr 2009 22:35:43 +0000 Subject: [PATCH] * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c. --- ChangeLog | 6 +++++- lib/Makefile.am | 1 + lib/prototypes.h | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) 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);