diff options
author | Denis Vlasenko | 2008-09-26 10:35:55 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-09-26 10:35:55 +0000 |
commit | ee5dce336597c76d674b570ed2c85041d50b6339 (patch) | |
tree | cd7ea0e60aff3fa129899319446dd3cce7b3ae39 /libpwdgrp/pwd_grp.c | |
parent | f1980f67d3b005090a31b7465d219e8ca19c5736 (diff) | |
download | busybox-ee5dce336597c76d674b570ed2c85041d50b6339.zip busybox-ee5dce336597c76d674b570ed2c85041d50b6339.tar.gz |
libpwdgrp: make it coexist with <pwd.h>, <grp.h> and <shadow.h>.
allows to get rid of hacks in libbb.h (extra declaration of setgroups -
now it comes from grp.h as intended).
Diffstat (limited to 'libpwdgrp/pwd_grp.c')
-rw-r--r-- | libpwdgrp/pwd_grp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c index 98b8367..223cbde 100644 --- a/libpwdgrp/pwd_grp.c +++ b/libpwdgrp/pwd_grp.c @@ -396,6 +396,7 @@ struct spwd *getspnam(const char *name) } #endif +#ifdef THIS_ONE_IS_UNUSED /* This one doesn't use static buffers */ int getpw(uid_t uid, char *buf) { @@ -419,6 +420,7 @@ int getpw(uid_t uid, char *buf) return -1; } +#endif /**********************************************************************/ |