* 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. --- ChangeLog | 8 ++++++++ lib/binary-io.c | 1 + lib/math.c | 1 + lib/pthread.c | 1 + lib/sys_socket.c | 1 + lib/u64.c | 1 + lib/unistd.c | 1 + 7 files changed, 14 insertions(+)
diff --git a/ChangeLog b/ChangeLog index d0c3557..3951708 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2015-10-13 Paul Eggert <egg...@cs.ucla.edu> + + 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-12 Pino Toscano <ptosc...@redhat.com> accept4-tests: fix to avoid non portable flags diff --git a/lib/binary-io.c b/lib/binary-io.c index 8bbdb44..d828bcd 100644 --- a/lib/binary-io.c +++ b/lib/binary-io.c @@ -1,3 +1,4 @@ #include <config.h> #define BINARY_IO_INLINE _GL_EXTERN_INLINE #include "binary-io.h" +typedef int dummy; diff --git a/lib/math.c b/lib/math.c index ddb2ded..ba2a6ab 100644 --- a/lib/math.c +++ b/lib/math.c @@ -1,3 +1,4 @@ #include <config.h> #define _GL_MATH_INLINE _GL_EXTERN_INLINE #include "math.h" +typedef int dummy; diff --git a/lib/pthread.c b/lib/pthread.c index a7de637..188eb0a 100644 --- a/lib/pthread.c +++ b/lib/pthread.c @@ -1,3 +1,4 @@ #include <config.h> #define _GL_PTHREAD_INLINE _GL_EXTERN_INLINE #include "pthread.h" +typedef int dummy; diff --git a/lib/sys_socket.c b/lib/sys_socket.c index 3f017f8..3b261da 100644 --- a/lib/sys_socket.c +++ b/lib/sys_socket.c @@ -1,3 +1,4 @@ #include <config.h> #define _GL_SYS_SOCKET_INLINE _GL_EXTERN_INLINE #include "sys/socket.h" +typedef int dummy; diff --git a/lib/u64.c b/lib/u64.c index 04cf7a2..1e3854d 100644 --- a/lib/u64.c +++ b/lib/u64.c @@ -1,3 +1,4 @@ #include <config.h> #define _GL_U64_INLINE _GL_EXTERN_INLINE #include "u64.h" +typedef int dummy; diff --git a/lib/unistd.c b/lib/unistd.c index 6c6a8e2..72bad1c 100644 --- a/lib/unistd.c +++ b/lib/unistd.c @@ -1,3 +1,4 @@ #include <config.h> #define _GL_UNISTD_INLINE _GL_EXTERN_INLINE #include "unistd.h" +typedef int dummy; -- 2.1.0