mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 22:20:08 +08:00
jvgenmain.c (error): Reversed 2001-02-01 deletion.
2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com> * jvgenmain.c (error): Reversed 2001-02-01 deletion. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00527.html) From-SVN: r39567
This commit is contained in:
parent
ab51eb25ba
commit
a395f5abc5
@ -1,3 +1,7 @@
|
||||
2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com>
|
||||
|
||||
* jvgenmain.c (error): Reversed 2001-02-01 deletion.
|
||||
|
||||
2001-02-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* Make-lang.in (JAVA_OBJS): Added java/mangle_name.o
|
||||
|
@ -33,6 +33,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "java-tree.h"
|
||||
|
||||
static char * do_mangle_classname PARAMS ((const char *string));
|
||||
void error PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1;
|
||||
|
||||
struct obstack name_obstack;
|
||||
struct obstack *mangle_obstack = &name_obstack;
|
||||
@ -66,6 +67,27 @@ usage (const char *name)
|
||||
exit (1);
|
||||
}
|
||||
|
||||
/* This function is defined here to help us link jvgenmain at
|
||||
bootstrap. */
|
||||
|
||||
void
|
||||
error VPARAMS ((const char *msgid, ...))
|
||||
{
|
||||
#ifndef ANSI_PROTOTYPES
|
||||
const char *msgid;
|
||||
#endif
|
||||
va_list ap;
|
||||
|
||||
VA_START (ap, msgid);
|
||||
|
||||
#ifndef ANSI_PROTOTYPES
|
||||
msgid = va_arg (ap, const char *);
|
||||
#endif
|
||||
|
||||
vfprintf (stderr, msgid, ap);
|
||||
va_end (ap);
|
||||
}
|
||||
|
||||
int
|
||||
main (int argc, const char **argv)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user