* exec.c (xfer_memory): Add attrib argument.
[deliverable/binutils-gdb.git] / gdb / linux-thread.c
index 3cf843398716ec15d47b8cb7f08eae178b9ac33f..32f6cbec0827d4121babfe6aeab9e2a2eb8c9ae6 100644 (file)
@@ -379,7 +379,7 @@ restore_inferior_pid (void *arg)
 {
   int *saved_pid_ptr = arg;
   inferior_pid = *saved_pid_ptr;
-  free (arg);
+  xfree (arg);
 }
 
 /* Register a cleanup to restore the value of inferior_pid.  */
@@ -568,9 +568,7 @@ restore_all_signals (void)
    If ALL is non-zero, process all threads.
    If ALL is zero, skip threads with pending status.  */
 static void
-iterate_active_threads (func, all)
-    void (*func)(int);
-    int all;
+iterate_active_threads (void (*func) (int), int all)
 {
   CORE_ADDR descr;
   int pid;
This page took 0.024062 seconds and 4 git commands to generate.