[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/13] getaddrinfo: no 'static inline'
From: |
Paul Eggert |
Subject: |
[PATCH 07/13] getaddrinfo: no 'static inline' |
Date: |
Thu, 08 Nov 2012 23:50:19 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 |
* lib/getaddrinfo.c (validate_family):
Now static, not static inline.
* m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO):
Do not require AC_C_INLINE.
---
ChangeLog | 6 ++++++
lib/getaddrinfo.c | 2 +-
m4/getaddrinfo.m4 | 3 +--
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a756e7d..abc5d7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2012-11-08 Paul Eggert <address@hidden>
+ 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):
diff --git a/lib/getaddrinfo.c b/lib/getaddrinfo.c
index 3415e74..2b52d00 100644
--- a/lib/getaddrinfo.c
+++ b/lib/getaddrinfo.c
@@ -109,7 +109,7 @@ use_win32_p (void)
}
#endif
-static inline bool
+static bool
validate_family (int family)
{
/* FIXME: Support more families. */
diff --git a/m4/getaddrinfo.m4 b/m4/getaddrinfo.m4
index 9cd3e67..8c4e462 100644
--- a/m4/getaddrinfo.m4
+++ b/m4/getaddrinfo.m4
@@ -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
--
1.7.11.7
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 07/13] getaddrinfo: no 'static inline',
Paul Eggert <=
- Prev by Date:
[PATCH 06/13] ftruncate, fts, lstat, openat, raise: no 'static inline'
- Next by Date:
[PATCH 08/13] parse-datetime, parse-duration: no 'static inline'
- Previous by thread:
[PATCH 06/13] ftruncate, fts, lstat, openat, raise: no 'static inline'
- Next by thread:
[PATCH 08/13] parse-datetime, parse-duration: no 'static inline'
- Index(es):