summaryrefslogtreecommitdiff
path: root/lib/sys_socket.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-10-13 23:25:18 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-10-13 23:25:46 -0700
commitc5d07ce91a8ad51591154450442fa4376441fdfa (patch)
tree1eb3dc878c8ebd2e1f09846a7af399fc47b459b5 /lib/sys_socket.c
parentf982bc8df29c417d1c5c4a46866a1bc41ded65f6 (diff)
downloadgnulib-c5d07ce91a8ad51591154450442fa4376441fdfa.tar.gz
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.
Diffstat (limited to 'lib/sys_socket.c')
-rw-r--r--lib/sys_socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sys_socket.c b/lib/sys_socket.c
index 3f017f8fc6..3b261da039 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;