This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob/patch] testsuite/gdb.arch/gdb1558.c: Include stdio.h.


Hi,

I applied the below patch as obvious.  Newer GCCs vehemently complain
about the missing printf prototype.


Corinna


	* gdb.arch/gdb1558.c: Include stdio.h.


Index: gdb.arch/gdb1558.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.arch/gdb1558.c,v
retrieving revision 1.1
diff -u -p -r1.1 gdb1558.c
--- gdb.arch/gdb1558.c  19 Feb 2004 22:55:50 -0000      1.1
+++ gdb.arch/gdb1558.c  2 Nov 2005 11:01:55 -0000
@@ -1,4 +1,4 @@
-/* Copyright 2004 Free Software Foundation, Inc.
+/* Copyright 2004, 2005 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
@@ -19,6 +19,8 @@
  
    This file is part of the gdb testsuite.  */
 
+#include <stdio.h>
+
 sub1 ()
 {
   printf ("In sub1\n");


-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]