aboutsummaryrefslogtreecommitdiff
path: root/include/grp_.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-31 12:38:17 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-31 12:38:17 +0200
commit55301297d3e4c05ec37faf1e1695f79a74ce2cab (patch)
tree6295d785b8585a56ebe666dcec9c554dd51c884d /include/grp_.h
parent17fcd72add2a94c9542dba72124032b54838cb50 (diff)
downloadbusybox-55301297d3e4c05ec37faf1e1695f79a74ce2cab.tar.gz
libpwdgrp: comment out functions with UNUSED_SINCE_WE_AVOID_STATIC_BUFS
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/grp_.h')
-rw-r--r--include/grp_.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grp_.h b/include/grp_.h
index deaf9e6a3..7a95f88a6 100644
--- a/include/grp_.h
+++ b/include/grp_.h
@@ -55,6 +55,7 @@ extern void setgrent(void);
/* Close the group-file stream. */
extern void endgrent(void);
+#ifdef UNUSED_SINCE_WE_AVOID_STATIC_BUFS
/* Read an entry from the group-file stream, opening it if necessary. */
extern struct group *getgrent(void);
@@ -64,6 +65,7 @@ extern struct group *fgetgrent(FILE *__stream);
/* Write the given entry onto the given stream. */
extern int putgrent(const struct group *__restrict __p,
FILE *__restrict __f);
+#endif
/* Search for an entry with a matching group ID. */
extern struct group *getgrgid(gid_t __gid);