2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Tue, 14 Sep 2004 20:28:25 +0000 (20:28 +0000)
committerMichael Chastain <mec@google.com>
Tue, 14 Sep 2004 20:28:25 +0000 (20:28 +0000)
* gdb.threads/killed.c: Include <stdlib.h>.
* gdb.threads/pthreads.c: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/killed.c
gdb/testsuite/gdb.threads/pthreads.c

index b7bb99146ee5781eb5004b4e06a47914ae5bb166..aa6abb45d220c98f468f1cdbd03b0abc94cb1aec 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.threads/killed.c: Include <stdlib.h>.
+       * gdb.threads/pthreads.c: Likewise.
+
 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
 
        * gdb.threads/killed.c: Add copyright notice.
index a451f39416424437fbac5b3949a128bf8dbaac81..590bf206f9b898be8cc2dfa2a07adfe5da376530 100644 (file)
@@ -1,6 +1,6 @@
 /* This testcase is part of GDB, the GNU debugger.
 
-   Copyright 2002 Free Software Foundation, Inc.
+   Copyright 2002, 2004 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -21,6 +21,7 @@
 #include <signal.h>
 #include <pthread.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 int pid;
 
index d82d550ffb49c569fc2ba05cab1cdace5a01a038..abedb248b3eef8128bd658cf926216714662accb 100644 (file)
@@ -1,5 +1,5 @@
 /* Pthreads test program.
-   Copyright 1996, 2002, 2003
+   Copyright 1996, 2002, 2003, 2004
    Free Software Foundation, Inc.
 
    Written by Fred Fish of Cygnus Support
@@ -23,6 +23,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <pthread.h>
 
 /* Under OSF 2.0 & 3.0 and HPUX 10, the second arg of pthread_create
This page took 0.032114 seconds and 4 git commands to generate.