aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-04-02 12:12:43 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-04-02 12:12:43 +0200
commit05d1a32192011ef43248920db367653ccc4d980e (patch)
tree8a0156a2db22f4fe1900858ef19bd30f9c668fe5 /libpwdgrp
parent8fc9e6a15d23c7e20ef135d8f242406b0aa0e8af (diff)
downloadbusybox-w32-05d1a32192011ef43248920db367653ccc4d980e.tar.gz
busybox-w32-05d1a32192011ef43248920db367653ccc4d980e.tar.bz2
busybox-w32-05d1a32192011ef43248920db367653ccc4d980e.zip
libpwdgrp: comment out unused data
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libpwdgrp')
-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 87ab7391e..34690a738 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)
736#endif 736#endif
737 737
738#if ENABLE_USE_BB_SHADOW 738#if ENABLE_USE_BB_SHADOW
739#ifdef UNUSED_FOR_NOW
739static const unsigned char put_sp_off[] ALIGN1 = { 740static const unsigned char put_sp_off[] ALIGN1 = {
740 offsetof(struct spwd, sp_lstchg), /* 2 - not a char ptr */ 741 offsetof(struct spwd, sp_lstchg), /* 2 - not a char ptr */
741 offsetof(struct spwd, sp_min), /* 3 - not a char ptr */ 742 offsetof(struct spwd, sp_min), /* 3 - not a char ptr */
@@ -745,7 +746,6 @@ static const unsigned char put_sp_off[] ALIGN1 = {
745 offsetof(struct spwd, sp_expire) /* 7 - not a char ptr */ 746 offsetof(struct spwd, sp_expire) /* 7 - not a char ptr */
746}; 747};
747 748
748#ifdef UNUSED_FOR_NOW
749int putspent(const struct spwd *p, FILE *stream) 749int putspent(const struct spwd *p, FILE *stream)
750{ 750{
751 const char *fmt; 751 const char *fmt;
@@ -1000,10 +1000,10 @@ static int FAST_FUNC bb__parsespent(void *data, char *line)
1000 1000
1001/**********************************************************************/ 1001/**********************************************************************/
1002 1002
1003/* Reads until if EOF, or until if finds a line which fits in the buffer 1003/* Reads until EOF, or until it finds a line which fits in the buffer
1004 * and for which the parser function succeeds. 1004 * and for which the parser function succeeds.
1005 * 1005 *
1006 * Returns 0 on success and ENOENT for end-of-file (glibc concession). 1006 * Returns 0 on success and ENOENT for end-of-file (glibc convention).
1007 */ 1007 */
1008static int bb__pgsreader( 1008static int bb__pgsreader(
1009 int FAST_FUNC (*parserfunc)(void *d, char *line), 1009 int FAST_FUNC (*parserfunc)(void *d, char *line),