]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
inet: Remove internal_function attribute
authorFlorian Weimer <fweimer@redhat.com>
Thu, 31 Aug 2017 15:35:16 +0000 (17:35 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 31 Aug 2017 16:52:00 +0000 (18:52 +0200)
ChangeLog
inet/deadline.c
inet/getnameinfo.c
inet/getnetgrent_r.c
inet/inet6_option.c
inet/net-internal.h
inet/rcmd.c
sysdeps/mach/hurd/if_index.c
sysdeps/unix/sysv/linux/ifaddrs.c

index a87a9c4852cc4686a8d94c2cf53ada5b618e6996..d6ce909818ca2b0172ffb159682fb6e047b73149 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2017-08-31  Florian Weimer  <fweimer@redhat.com>
+
+       * inet/deadline.c (__deadline_current_time)
+       (__deadline_from_timeval, __deadline_to_ms): Remove
+       internal_function.
+       * inet/getnameinfo.c (nrl_domainname): Likewise.
+       * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
+       * inet/inet6_option.c (add_pad): Likewise.
+       * inet/net-internal.h (__deadline_current_time)
+       (__deadline_from_timeval, __deadline_to_ms): Likewise.
+       * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
+       * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
+       * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
+
 2017-08-31  Joseph Myers  <joseph@codesourcery.com>
 
        *  math/math.h [__USE_ISOC99] (NAN): Define directly here.  Do not
index c1fa415a39f72f8fdb79f8166eb77542355a1009..5893f2206a13409741f1843a70ea3c3568100059 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdint.h>
 #include <time.h>
 
-struct deadline_current_time internal_function
+struct deadline_current_time
 __deadline_current_time (void)
 {
   struct deadline_current_time result;
@@ -48,7 +48,7 @@ infinite_deadline (void)
   return (struct deadline) { { -1, -1 } };
 }
 
-struct deadline internal_function
+struct deadline
 __deadline_from_timeval (struct deadline_current_time current,
                          struct timeval tv)
 {
@@ -79,7 +79,7 @@ __deadline_from_timeval (struct deadline_current_time current,
   return (struct deadline) { { sec, nsec } };
 }
 
-int internal_function
+int
 __deadline_to_ms (struct deadline_current_time current,
                   struct deadline deadline)
 {
index 5d2b9b7559ad1d50f6e7fadd974b1deeb4151a9d..b41e555f3cec99be9c2a5285911e03e1d44700bd 100644 (file)
@@ -86,7 +86,6 @@ libc_freeres_ptr (static char *domain);
 
 
 static char *
-internal_function
 nrl_domainname (void)
 {
   static int not_first;
index 89fefeb612be4d12d669aea8a42d607e7e3c6f3d..de5c50483cd6d71cdc714ebe1471e99ce2e83195 100644 (file)
@@ -110,7 +110,6 @@ endnetgrent_hook (struct __netgrent *datap)
 }
 
 static int
-internal_function
 __internal_setnetgrent_reuse (const char *group, struct __netgrent *datap,
                              int *errnop)
 {
index f6d9b5dffee6942b4a1a69a55c8c02e59ca85320..b37db47dbbebad133751a87fc8fbf941100bdce9 100644 (file)
@@ -24,7 +24,6 @@
 
 
 static void
-internal_function
 add_pad (struct cmsghdr *cmsg, int len)
 {
   unsigned char *p = CMSG_DATA (cmsg) + cmsg->cmsg_len - CMSG_LEN (0);
index b2135893e8a3fccbd0a6e0df809ee56a5401ecc4..74ee8bccd993a5310eb7db9c2e253f5bbdc6597a 100644 (file)
@@ -53,8 +53,7 @@ struct deadline_current_time
 
 /* Return the current time.  Terminates the process if the current
    time is not available.  */
-struct deadline_current_time __deadline_current_time (void)
-  internal_function attribute_hidden;
+struct deadline_current_time __deadline_current_time (void) attribute_hidden;
 
 /* Computed absolute deadline.  */
 struct deadline
@@ -97,15 +96,14 @@ __deadline_first (struct deadline left, struct deadline right)
 /* Add TV to the current time and return it.  Returns a special
    infinite absolute deadline on overflow.  */
 struct deadline __deadline_from_timeval (struct deadline_current_time,
-                                         struct timeval tv)
-  internal_function attribute_hidden;
+                                         struct timeval tv) attribute_hidden;
 
 /* Compute the number of milliseconds until the specified deadline,
    from the current time in the argument.  The result is mainly for
    use with poll.  If the deadline has already passed, return 0.  If
    the result would overflow an int, return INT_MAX.  */
 int __deadline_to_ms (struct deadline_current_time, struct deadline)
-  internal_function attribute_hidden;
+  attribute_hidden;
 
 /* Return true if TV.tv_sec is non-negative and TV.tv_usec is in the
    interval [0, 999999].  */
index 976894c2c554349a0c6fd1a5140aa0fb89393929..8a9616f847e1ff0f0af5b739a8921402b961e84a 100644 (file)
@@ -646,7 +646,6 @@ __ivaliduser (FILE *hostf, uint32_t raddr, const char *luser,
 
 /* Returns 1 on positive match, 0 on no match, -1 on negative match.  */
 static int
-internal_function
 __checkhost_sa (struct sockaddr *ra, size_t ralen, char *lhost,
                const char *rhost)
 {
@@ -700,7 +699,6 @@ __checkhost_sa (struct sockaddr *ra, size_t ralen, char *lhost,
 
 /* Returns 1 on positive match, 0 on no match, -1 on negative match.  */
 static int
-internal_function
 __icheckuser (const char *luser, const char *ruser)
 {
     /*
index 2b9041a3bacb6ea1cb34c531f8ded14f6607b725..5cd82446987355e9536da96c6f34dd29e749744f 100644 (file)
@@ -187,7 +187,6 @@ libc_hidden_weak (if_indextoname)
 
 #if 0
 void
-internal_function
 __protocol_available (int *have_inet, int *have_inet6)
 {
   *have_inet = _hurd_socket_server (PF_INET, 0) != MACH_PORT_NULL;
index 3bc99028639c71492029605e3399332ba2f53ab2..f25f67a129922232b89353521aed40d900935577 100644 (file)
@@ -286,7 +286,6 @@ __netlink_open (struct netlink_handle *h)
    Since we get at first all RTM_NEWLINK entries, it can never happen
    that a RTM_NEWADDR index is not known to this map.  */
 static int
-internal_function
 map_newlink (int index, struct ifaddrs_storage *ifas, int *map, int max)
 {
   int i;