aboutsummaryrefslogtreecommitdiff
path: root/sim/cris/rvdummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cris/rvdummy.c')
-rw-r--r--sim/cris/rvdummy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/cris/rvdummy.c b/sim/cris/rvdummy.c
index f788686..994992c 100644
--- a/sim/cris/rvdummy.c
+++ b/sim/cris/rvdummy.c
@@ -36,7 +36,6 @@ main (int argc, char *argv[])
#include "getopt.h"
#include "libiberty.h"
-#define _GNU_SOURCE
#include <stdio.h>
#ifdef HAVE_UNISTD_H
@@ -104,7 +103,7 @@ static void handle_input_file (int, char *);
connection. Return a file descriptor for the connection or -1 on
error. */
-int setupsocket (void)
+static int setupsocket (void)
{
int s;
socklen_t len;