Mercurial > hg > octave-nkf > gnulib-hg
changeset 17189:83a5829d7fe2
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 20 Nov 2012 22:25:09 -0800 |
parents | d7a44f0f7a15 |
children | 6fa7c7fb76b2 |
files | ChangeLog lib/getaddrinfo.c m4/getaddrinfo.m4 |
diffstat | 3 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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):
--- a/lib/getaddrinfo.c +++ b/lib/getaddrinfo.c @@ -109,7 +109,7 @@ } #endif -static inline bool +static bool validate_family (int family) { /* FIXME: Support more families. */
--- 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_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