mirror of git://sourceware.org/git/glibc.git
inet: Add hidden prototype for __inet_network
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
26890e1cd0
commit
c4ec8cab07
|
|
@ -12,4 +12,6 @@ libc_hidden_proto (__inet_pton)
|
||||||
extern __typeof (inet_makeaddr) __inet_makeaddr;
|
extern __typeof (inet_makeaddr) __inet_makeaddr;
|
||||||
libc_hidden_proto (__inet_makeaddr)
|
libc_hidden_proto (__inet_makeaddr)
|
||||||
libc_hidden_proto (inet_netof)
|
libc_hidden_proto (inet_netof)
|
||||||
|
extern __typeof (inet_network) __inet_network;
|
||||||
|
libc_hidden_proto (__inet_network)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@
|
||||||
* network numbers.
|
* network numbers.
|
||||||
*/
|
*/
|
||||||
uint32_t
|
uint32_t
|
||||||
inet_network (const char *cp)
|
__inet_network (const char *cp)
|
||||||
{
|
{
|
||||||
uint32_t val, base, n, i;
|
uint32_t val, base, n, i;
|
||||||
char c;
|
char c;
|
||||||
|
|
@ -107,3 +107,5 @@ again:
|
||||||
}
|
}
|
||||||
return (val);
|
return (val);
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (__inet_network)
|
||||||
|
weak_alias (__inet_network, inet_network)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue