* ldgram.y (atype): Accept parentheses with no type.
[deliverable/binutils-gdb.git] / ld / ldmisc.h
... / ...
CommitLineData
1/* ldmisc.h -
2 Copyright (C) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
3
4 This file is part of GLD, the Gnu Linker.
5
6 GLD is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GLD is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GLD; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
19
20#ifndef LDMISC_H
21#define LDMISC_H
22
23#ifdef ANSI_PROTOTYPES
24extern void einfo PARAMS ((const char *, ...));
25extern void minfo PARAMS ((const char *, ...));
26extern void info_msg PARAMS ((const char *, ...));
27#else
28/* VARARGS*/
29extern void einfo ();
30/* VARARGS*/
31extern void minfo ();
32/* VARARGS*/
33extern void info_msg ();
34#endif
35
36extern void info_assert PARAMS ((const char *, unsigned int));
37extern void yyerror PARAMS ((const char *));
38extern PTR xmalloc PARAMS ((size_t));
39extern PTR xrealloc PARAMS ((PTR, size_t));
40extern void xexit PARAMS ((int));
41extern char *buystring PARAMS ((CONST char *CONST));
42
43#define ASSERT(x) \
44do { if (!(x)) info_assert(__FILE__,__LINE__); } while (0)
45
46#define FAIL() \
47do { info_assert(__FILE__,__LINE__); } while (0)
48
49extern void print_space PARAMS ((void));
50extern void print_nl PARAMS ((void));
51extern void print_address PARAMS ((bfd_vma value));
52extern char *demangle PARAMS ((const char *));
53
54#endif
This page took 0.02283 seconds and 4 git commands to generate.