Mercurial > gnulib
changeset 37808:9033a7d86828
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 13 Oct 2015 23:25:18 -0700 |
parents | 334792ad96b8 |
children | e070232ae449 |
files | ChangeLog lib/binary-io.c lib/math.c lib/pthread.c lib/sys_socket.c lib/u64.c lib/unistd.c |
diffstat | 7 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Oct 12 12:27:10 2015 +0100 +++ b/ChangeLog Tue Oct 13 23:25:18 2015 -0700 @@ -1,3 +1,11 @@ +2015-10-13 Paul Eggert <eggert@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 <ptoscano@redhat.com> accept4-tests: fix to avoid non portable flags
--- a/lib/binary-io.c Mon Oct 12 12:27:10 2015 +0100 +++ b/lib/binary-io.c Tue Oct 13 23:25:18 2015 -0700 @@ -1,3 +1,4 @@ #include <config.h> #define BINARY_IO_INLINE _GL_EXTERN_INLINE #include "binary-io.h" +typedef int dummy;
--- a/lib/math.c Mon Oct 12 12:27:10 2015 +0100 +++ b/lib/math.c Tue Oct 13 23:25:18 2015 -0700 @@ -1,3 +1,4 @@ #include <config.h> #define _GL_MATH_INLINE _GL_EXTERN_INLINE #include "math.h" +typedef int dummy;
--- a/lib/pthread.c Mon Oct 12 12:27:10 2015 +0100 +++ b/lib/pthread.c Tue Oct 13 23:25:18 2015 -0700 @@ -1,3 +1,4 @@ #include <config.h> #define _GL_PTHREAD_INLINE _GL_EXTERN_INLINE #include "pthread.h" +typedef int dummy;
--- a/lib/sys_socket.c Mon Oct 12 12:27:10 2015 +0100 +++ b/lib/sys_socket.c Tue Oct 13 23:25:18 2015 -0700 @@ -1,3 +1,4 @@ #include <config.h> #define _GL_SYS_SOCKET_INLINE _GL_EXTERN_INLINE #include "sys/socket.h" +typedef int dummy;