From ee5dce336597c76d674b570ed2c85041d50b6339 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 26 Sep 2008 10:35:55 +0000 Subject: libpwdgrp: make it coexist with , and . allows to get rid of hacks in libbb.h (extra declaration of setgroups - now it comes from grp.h as intended). --- libpwdgrp/pwd_grp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpwdgrp') diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c index 98b8367ca..223cbde36 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 /**********************************************************************/ -- cgit v1.2.3