From c617db9065afa51100199d9ac4561feee4279291 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 12 Jun 2002 23:27:00 +0000 Subject: Silence warnings, clean things up. -Erik --- libc/pwd_grp/config.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libc/pwd_grp/config.h') diff --git a/libc/pwd_grp/config.h b/libc/pwd_grp/config.h index 5a5272999..2c3c6c3f0 100644 --- a/libc/pwd_grp/config.h +++ b/libc/pwd_grp/config.h @@ -24,12 +24,21 @@ #include #include +#include /* These are used internally to uClibc */ extern struct group * __getgrent __P ((int grp_fd)); extern int __getpwent_r(struct passwd * passwd, char * line_buff, size_t buflen, int pwd_fd); +extern int __getspent_r(struct spwd * spwd, char * line_buff, + size_t buflen, int spwd_fd); +extern int __sgetspent_r(const char * string, struct spwd * spwd, + char * line_buff, size_t buflen); + + +#define PWD_BUFFER_SIZE 256 + /* * Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer -- cgit v1.2.3