summaryrefslogtreecommitdiff
path: root/libpwdgrp/pwd_grp.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-04-02 12:12:43 +0200
committerDenys Vlasenko2010-04-02 12:12:43 +0200
commit05d1a32192011ef43248920db367653ccc4d980e (patch)
tree8a0156a2db22f4fe1900858ef19bd30f9c668fe5 /libpwdgrp/pwd_grp.c
parent8fc9e6a15d23c7e20ef135d8f242406b0aa0e8af (diff)
downloadbusybox-05d1a32192011ef43248920db367653ccc4d980e.zip
busybox-05d1a32192011ef43248920db367653ccc4d980e.tar.gz
libpwdgrp: comment out unused data
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libpwdgrp/pwd_grp.c')
-rw-r--r--libpwdgrp/pwd_grp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c
index 87ab739..34690a7 100644
--- a/libpwdgrp/pwd_grp.c
+++ b/libpwdgrp/pwd_grp.c
@@ -736,6 +736,7 @@ int putgrent(const struct group *__restrict p, FILE *__restrict f)
#endif
#if ENABLE_USE_BB_SHADOW
+#ifdef UNUSED_FOR_NOW
static const unsigned char put_sp_off[] ALIGN1 = {
offsetof(struct spwd, sp_lstchg), /* 2 - not a char ptr */
offsetof(struct spwd, sp_min), /* 3 - not a char ptr */
@@ -745,7 +746,6 @@ static const unsigned char put_sp_off[] ALIGN1 = {
offsetof(struct spwd, sp_expire) /* 7 - not a char ptr */
};
-#ifdef UNUSED_FOR_NOW
int putspent(const struct spwd *p, FILE *stream)
{
const char *fmt;
@@ -1000,10 +1000,10 @@ static int FAST_FUNC bb__parsespent(void *data, char *line)
/**********************************************************************/
-/* Reads until if EOF, or until if finds a line which fits in the buffer
+/* Reads until EOF, or until it finds a line which fits in the buffer
* and for which the parser function succeeds.
*
- * Returns 0 on success and ENOENT for end-of-file (glibc concession).
+ * Returns 0 on success and ENOENT for end-of-file (glibc convention).
*/
static int bb__pgsreader(
int FAST_FUNC (*parserfunc)(void *d, char *line),