]> Savannah Git Hosting - gnulib.git/commitdiff
binary-io, math, pthread, sys_socket, u64, unistd: port to strict C
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Oct 2015 06:25:18 +0000 (23:25 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Oct 2015 06:25:46 +0000 (23:25 -0700)
* 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
lib/binary-io.c
lib/math.c
lib/pthread.c
lib/sys_socket.c
lib/u64.c
lib/unistd.c

index d0c3557c2fcaa86ffe028795bee2fd9208634766..39517086d8731bbbbe36edb561e91b05ea4b6450 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 8bbdb44d121d750af18d7ffbed568a8fc481507d..d828bcd0153245ad8da003f7bc2ca1cc20ea5999 100644 (file)
@@ -1,3 +1,4 @@
 #include <config.h>
 #define BINARY_IO_INLINE _GL_EXTERN_INLINE
 #include "binary-io.h"
+typedef int dummy;
index ddb2ded530d177f2f6f53fe0e3bb0f75255396b4..ba2a6abd62de1e95bdc03588233738c9197e8272 100644 (file)
@@ -1,3 +1,4 @@
 #include <config.h>
 #define _GL_MATH_INLINE _GL_EXTERN_INLINE
 #include "math.h"
+typedef int dummy;
index a7de6376864eff3f333f09989b34b37047da0b7c..188eb0a94c0b96453ebd8e720032a1c62cd2c70b 100644 (file)
@@ -1,3 +1,4 @@
 #include <config.h>
 #define _GL_PTHREAD_INLINE _GL_EXTERN_INLINE
 #include "pthread.h"
+typedef int dummy;
index 3f017f8fc6964b5f1f45ee9263cecd9c9baa6fa1..3b261da039fab0d2137e22b309f66675e8e48c3e 100644 (file)
@@ -1,3 +1,4 @@
 #include <config.h>
 #define _GL_SYS_SOCKET_INLINE _GL_EXTERN_INLINE
 #include "sys/socket.h"
+typedef int dummy;
index 04cf7a299465f1f5e34e65916263e16fb54fda3e..1e3854ddcd71fc60413c45c8d426936749c7a33d 100644 (file)
--- 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;
index 6c6a8e268c0fc44a6ebba64bdd17fa4d8816bcc9..72bad1c0527a11f30a7437fa3864ce07c9b410d7 100644 (file)
@@ -1,3 +1,4 @@
 #include <config.h>
 #define _GL_UNISTD_INLINE _GL_EXTERN_INLINE
 #include "unistd.h"
+typedef int dummy;