]> Savannah Git Hosting - gnulib.git/commitdiff
getaddrinfo: no 'static inline'
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Nov 2012 06:25:09 +0000 (22:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 30 Nov 2012 07:38:56 +0000 (23:38 -0800)
* lib/getaddrinfo.c (validate_family):
Now static, not static inline.
* m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO):
Do not require AC_C_INLINE.

ChangeLog
lib/getaddrinfo.c
m4/getaddrinfo.m4

index f13c4f818ffb5930cdeeb777d9815900de524738..f7549f00f93d3f179735be3d419063aa4de5d55e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2012-11-29  Paul Eggert  <eggert@cs.ucla.edu>
 
+       getaddrinfo: no 'static inline'
+       * lib/getaddrinfo.c (validate_family):
+       Now static, not static inline.
+       * m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO):
+       Do not require AC_C_INLINE.
+
        ftruncate, fts, lstat, openat, raise: no 'static inline'
        * lib/ftruncate.c (chsize_nothrow):
        * lib/fts.c (opendirat, diropen):
index 3415e74ddf333ca6ab078257e299558ce227ac1e..2b52d00fc101e146c6a9ed58238300024c624da4 100644 (file)
@@ -109,7 +109,7 @@ use_win32_p (void)
 }
 #endif
 
-static inline bool
+static bool
 validate_family (int family)
 {
   /* FIXME: Support more families. */
index 9cd3e675ecb1f312f0570b9fe88fdc10c92e05c7..8c4e46261c084390ee014e8bbd88a1aa13b3eb19 100644 (file)
@@ -1,4 +1,4 @@
-# getaddrinfo.m4 serial 29
+# getaddrinfo.m4 serial 30
 dnl Copyright (C) 2004-2012 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -134,7 +134,6 @@ AC_DEFUN([gl_PREREQ_GETADDRINFO], [
   AC_REQUIRE([AC_C_RESTRICT])
   AC_REQUIRE([gl_SOCKET_FAMILIES])
   AC_REQUIRE([gl_HEADER_SYS_SOCKET])
-  AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
 
   dnl Including sys/socket.h is wrong for Windows, but Windows does not