summaryrefslogtreecommitdiff
path: root/ld/ldmisc.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-09-26 01:55:44 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-09-26 01:55:44 +0000
commitfccab926e540e7d6f264be68f25e51bbae02ba5d (patch)
treeb6e3e4a7f8939f82a1d070ef4dcaf41f74059016 /ld/ldmisc.h
parent2ca2db2bf27f4e97eea746a2aac5b694c48dd27e (diff)
downloadbinutils-redhat-fccab926e540e7d6f264be68f25e51bbae02ba5d.tar.gz
* ldmisc.c (USE_STDARG): Remove.
(info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. (einfo): Likewise. (minfo): Likewise. (lfinfo): Likewise. * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi declarations. Update copyright.
Diffstat (limited to 'ld/ldmisc.h')
-rw-r--r--ld/ldmisc.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/ld/ldmisc.h b/ld/ldmisc.h
index 998fb4fee8..aa3f6af156 100644
--- a/ld/ldmisc.h
+++ b/ld/ldmisc.h
@@ -1,5 +1,5 @@
/* ldmisc.h -
- Copyright 1991, 1992, 1993, 1994, 1996, 1997
+ Copyright 1991, 1992, 1993, 1994, 1996, 1997, 2001
Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
@@ -15,28 +15,17 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with GLD; see the file COPYING. If not, write to
- the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ along with GLD; see the file COPYING. If not, write to the Free
+ Software Foundation, 59 Temple Place - Suite 330, Boston,
+ MA 02111-1307, USA. */
#ifndef LDMISC_H
#define LDMISC_H
-#ifdef ANSI_PROTOTYPES
extern void einfo PARAMS ((const char *, ...));
extern void minfo PARAMS ((const char *, ...));
extern void info_msg PARAMS ((const char *, ...));
extern void lfinfo PARAMS ((FILE *, const char *, ...));
-#else
-/* VARARGS*/
-extern void einfo ();
-/* VARARGS*/
-extern void minfo ();
-/* VARARGS*/
-extern void info_msg ();
-/*VARARGS*/
-extern void lfinfo ();
-#endif
-
extern void info_assert PARAMS ((const char *, unsigned int));
extern void yyerror PARAMS ((const char *));
extern PTR xmalloc PARAMS ((size_t));