Make find_thread_ptid lookup thread map instead of iterate
[deliverable/binutils-gdb.git] / sim / cris / rvdummy.c
index 446b0820de3d5b13fd62d50c887749fb56f540f4..bba6c5ab1128f76531436998e695ad9092c6a03a 100644 (file)
@@ -1,7 +1,7 @@
 /* Test-driver for the remote-virtual-component simulator framework
    for GDB, the GNU Debugger.
 
-   Copyright 2006, 2007, 2008, 2009, 2010, 2011 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.024918 seconds and 4 git commands to generate.