forked from Imagelibrary/binutils-gdb
Don't declare xmalloc and others in ldmisc.h
* ldmisc.h (xmalloc, xrealloc, xexit, yyerror): Don't declare. * emultempl/pdp11.em: Include libiberty.h. * emultempl/ticoff.em: Likewise. * emultempl/vms.em: Likewise. * ldctor.c: Likewise. * ldelfgen.c: Likewise. * ldgram.y: Likewise. (yyerror): Prototype and make static.
This commit is contained in:
@@ -27,10 +27,6 @@ extern void minfo (const char *, ...);
|
||||
extern void info_msg (const char *, ...);
|
||||
extern void lfinfo (FILE *, const char *, ...);
|
||||
extern void info_assert (const char *, unsigned int);
|
||||
extern void yyerror (const char *);
|
||||
extern void *xmalloc (size_t);
|
||||
extern void *xrealloc (void *, size_t);
|
||||
extern void xexit (int);
|
||||
|
||||
#define ASSERT(x) \
|
||||
do { if (!(x)) info_assert(__FILE__,__LINE__); } while (0)
|
||||
|
||||
Reference in New Issue
Block a user