This fixes a few warnings when compiling the rvdummy tool.
+2015-12-25 Mike Frysinger <vapier@gentoo.org>
+
+ * rvdummy.c (_GNU_SOURCE): Delete.
+ (setupsocket): Mark static.
+
2015-12-25 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_OBJS): Delete sim-model.o.
#include "getopt.h"
#include "libiberty.h"
-#define _GNU_SOURCE
#include <stdio.h>
#ifdef HAVE_UNISTD_H
connection. Return a file descriptor for the connection or -1 on
error. */
-int setupsocket (void)
+static int setupsocket (void)
{
int s;
socklen_t len;