This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Fix gas warning for ppc
- To: binutils at sources dot redhat dot com
- Subject: Fix gas warning for ppc
- From: Andreas Jaeger <aj at suse dot de>
- Date: Fri, 24 Aug 2001 20:42:44 +0200
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