This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Fix gas warning for ppc



Compiling gas for ppc I got numerous warnings:
../../gas/config/tc-ppc.h:59: warning: function declaration isn't a prototype

Ok to commit?

Andreas

2001-08-24  Andreas Jaeger  <aj@suse.de>

	* config/tc-ppc.h: Fix prototype declaration.

============================================================
Index: gas/config/tc-ppc.h
--- gas/config/tc-ppc.h	2001/04/12 07:03:10	1.10
+++ gas/config/tc-ppc.h	2001/08/24 18:42:32
@@ -1,5 +1,5 @@
 /* tc-ppc.h -- Header file for tc-ppc.c.
-   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
    Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Cygnus Support.
 
@@ -56,7 +56,7 @@
 
 /* The target BFD format.  */
 #define TARGET_FORMAT (ppc_target_format ())
-extern char* ppc_target_format ();
+extern char* ppc_target_format PARAMS ((void));
 
 /* Permit temporary numeric labels.  */
 #define LOCAL_LABELS_FB 1

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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