summaryrefslogtreecommitdiff
path: root/libc/inet/getnetent.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-03 00:34:49 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-03 00:34:49 +0000
commitc885bf5cf94a12202f849477a845d728cbd12889 (patch)
tree106e36d57ea684166ebde05a8d4be54664e0e6ce /libc/inet/getnetent.c
parentca3067b8cec6e7ffd600c92510197df5aedd8606 (diff)
More hiding, including __mempcpy
Diffstat (limited to 'libc/inet/getnetent.c')
-rw-r--r--libc/inet/getnetent.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/inet/getnetent.c b/libc/inet/getnetent.c
index 181c5adfe..fc21dfa03 100644
--- a/libc/inet/getnetent.c
+++ b/libc/inet/getnetent.c
@@ -44,7 +44,7 @@ static char *net_aliases[MAXALIASES];
int _net_stayopen;
-void setnetent(int f)
+void attribute_hidden __setnetent(int f)
{
LOCK;
if (netf == NULL)
@@ -55,8 +55,9 @@ void setnetent(int f)
UNLOCK;
return;
}
+strong_alias(__setnetent,setnetent)
-void endnetent(void)
+void attribute_hidden __endnetent(void)
{
LOCK;
if (netf) {
@@ -66,6 +67,7 @@ void endnetent(void)
_net_stayopen = 0;
UNLOCK;
}
+strong_alias(__endnetent,endnetent)
static char * any(register char *cp, char *match)
{
@@ -80,7 +82,7 @@ static char * any(register char *cp, char *match)
return ((char *)0);
}
-struct netent * getnetent(void)
+struct netent attribute_hidden * __getnetent(void)
{
char *p;
register char *cp, **q;
@@ -139,4 +141,4 @@ again:
UNLOCK;
return (&net);
}
-
+strong_alias(__getnetent,getnetent)