1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 14:43:36 +00:00

2 Commits

Author SHA1 Message Date
Paul Eggert
c5d07ce91a binary-io, math, pthread, sys_socket, u64, unistd: port to strict C
* lib/binary-io.c, lib/math.c, lib/pthread.c, lib/sys_socket.c:
* lib/u64.c, lib/unistd.c:
Append 'typedef int dummy;', to pacify compilers that are picky
about empty translation units.
2015-10-13 23:25:46 -07:00
Paul Eggert
c75f87d6e4 sys_socket: better 'inline'
* lib/sys_socket.c: New file.
* lib/sys_socket.in.h (_GL_SYS_SOCKET_INLINE):
New macro.  Replace all uses of 'static inline' with it.
Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END.
* m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Do not require AC_C_INLINE.
* modules/sys_socket (Files, lib_SOURCES): Add lib/sys_socket.c.
(Depends-on): Add extern-inline.
2012-11-29 23:38:51 -08:00