]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - inet/inet_net.c
Change _IO_stderr_/_IO_stdin_/_IO_stdout to compat symbols [BZ #31766]
[thirdparty/glibc.git] / inet / inet_net.c
index 25c45ec2e9c7587094857b98b69410a26abaf3a8..111339099943241fc134eda7577f0333858d715a 100644 (file)
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 
-/* Copyright (C) 2013-2020 Free Software Foundation, Inc.
+/* Copyright (C) 2013-2024 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -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)