Make find_thread_ptid lookup thread map instead of iterate
[deliverable/binutils-gdb.git] / sim / cris / rvdummy.c
index e1f9fe4aa7bc2f4409cea6cc3ef3356a6e968b12..bba6c5ab1128f76531436998e695ad9092c6a03a 100644 (file)
@@ -1,7 +1,7 @@
 /* Test-driver for the remote-virtual-component simulator framework
    for GDB, the GNU Debugger.
 
-   Copyright 2006-2014 Free Software Foundation, Inc.
+   Copyright 2006-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -30,14 +30,12 @@ main (int argc, char *argv[])
 #else
 
 #ifdef HAVE_CONFIG_H
-#include "cconfig.h"
-#include "tconfig.h"
+#include "config.h"
 #endif
 
 #include "getopt.h"
 #include "libiberty.h"
 
-#define _GNU_SOURCE
 #include <stdio.h>
 
 #ifdef HAVE_UNISTD_H
@@ -105,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;
This page took 0.023697 seconds and 4 git commands to generate.