summaryrefslogtreecommitdiff
path: root/libc/pwd_grp
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-16 12:23:58 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-16 12:23:58 +0100
commita716f8ad2c4ba124073ef517f0b4d2f49d3b4bb4 (patch)
tree73dd28dcebe085bd19c067cee96d214003b1f8bb /libc/pwd_grp
parenta586f419f5195ee5d7cb69c9c40263e01aec4289 (diff)
getpwnam: hide relocation
The non-reentrant version of getpwnam is used in the RPC code (for !HAS_REENTRANT_RPC) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/pwd_grp')
-rw-r--r--libc/pwd_grp/pwd_grp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/pwd_grp/pwd_grp.c b/libc/pwd_grp/pwd_grp.c
index f5c22f885..0e7c7f73b 100644
--- a/libc/pwd_grp/pwd_grp.c
+++ b/libc/pwd_grp/pwd_grp.c
@@ -354,6 +354,7 @@ struct passwd *getpwnam(const char *name)
getpwnam_r(name, &resultbuf, buffer, sizeof(buffer), &result);
return result;
}
+libc_hidden_def(getpwnam)
#endif
/**********************************************************************/