widl: Remove internal_error() as it is unused.

This commit is contained in:
Francois Gouget 2007-10-18 17:10:30 +02:00 committed by Alexandre Julliard
parent 7fd1ad5ffa
commit 490841ee06
2 changed files with 0 additions and 11 deletions

View File

@ -86,16 +86,6 @@ int parser_warning(const char *s, ...)
return 0;
}
void internal_error(const char *file, int line, const char *s, ...)
{
va_list ap;
va_start(ap, s);
fprintf(stderr, "Internal error (please report) %s %d: ", file, line);
vfprintf(stderr, s, ap);
va_end(ap);
exit(3);
}
void error(const char *s, ...)
{
va_list ap;

View File

@ -35,7 +35,6 @@ char *xstrdup(const char *str);
int parser_error(const char *s, ...) __attribute__((format (printf, 1, 2)));
int parser_warning(const char *s, ...) __attribute__((format (printf, 1, 2)));
void internal_error(const char *file, int line, const char *s, ...) __attribute__((format (printf, 3, 4)));
void error(const char *s, ...) __attribute__((format (printf, 1, 2)));
void warning(const char *s, ...) __attribute__((format (printf, 1, 2)));
void chat(const char *s, ...) __attribute__((format (printf, 1, 2)));