Add error to stub.c.

It turns out libc has an "error" function too, but the android libc does
not, thus qfprogs wouldn't link when building for droid.
This commit is contained in:
Bill Currie 2012-11-29 10:26:19 +09:00
parent 69d9a2b452
commit e97193faf6
1 changed files with 1 additions and 0 deletions

View File

@ -32,3 +32,4 @@ pr_auxfunction_t *new_auxfunction (void) {return 0;}
ddef_t *new_local (void) {return 0;}
void def_to_ddef (def_t *def, ddef_t *ddef, int aux) {}
expr_t *warning (expr_t *e, const char *fmt, ...) {return 0;}
expr_t *error (expr_t *e, const char *fmt, ...) {return 0;}