about summary refs log tree commit diff
path: root/inet/inet_net.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-07 18:33:52 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-07 18:33:52 +0200
commitc4ec8cab07615600dcff90efcc3676855fe84b6d (patch)
tree6cc3f8aa670d647edbdd35a147a7c80abfcfe976 /inet/inet_net.c
parent26890e1cd018a2012badeb4fb4de265c53b485f7 (diff)
downloadglibc-c4ec8cab07615600dcff90efcc3676855fe84b6d.tar.gz
glibc-c4ec8cab07615600dcff90efcc3676855fe84b6d.tar.xz
glibc-c4ec8cab07615600dcff90efcc3676855fe84b6d.zip
inet: Add hidden prototype for __inet_network
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'inet/inet_net.c')
-rw-r--r--inet/inet_net.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/inet/inet_net.c b/inet/inet_net.c
index a0855e8bd2..b98634c33b 100644
--- a/inet/inet_net.c
+++ b/inet/inet_net.c
@@ -55,7 +55,7 @@
  * network numbers.
  */
 uint32_t
-inet_network (const char *cp)
+__inet_network (const char *cp)
 {
 	uint32_t val, base, n, i;
 	char c;
@@ -107,3 +107,5 @@ again:
 	}
 	return (val);
 }
+libc_hidden_def (__inet_network)
+weak_alias (__inet_network, inet_network)