X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fjay%2Fdefs.h;h=2aade48dac2fcdf29bd5c0cee576b6f3bfe2a385;hb=b8893efbccd64f92c81082e42b8e480b74881927;hp=f3679864735109a25ade32aab48d6574282fe9f6;hpb=5d9434fcb3acc1ed7d3d30603faae797d672fe65;p=mono.git diff --git a/mcs/jay/defs.h b/mcs/jay/defs.h index f3679864735..2aade48dac2 100644 --- a/mcs/jay/defs.h +++ b/mcs/jay/defs.h @@ -43,6 +43,11 @@ #include #include +/* Quiet warnings which might bother rpm */ +#ifdef __GNUC__ +#pragma GCC diagnostic ignored "-Wimplicit-function-declaration" +#pragma GCC diagnostic ignored "-Wreturn-type" +#endif /* machine-dependent definitions */ /* the following definitions are for the Tahoe */ @@ -244,6 +249,7 @@ extern int nsyms; extern int ntokens; extern int nvars; extern int ntags; +extern int nmethods; extern char *line_format; extern char *default_line_format; @@ -253,6 +259,7 @@ extern char **symbol_name; extern short *symbol_value; extern short *symbol_prec; extern char *symbol_assoc; +extern char **methods; extern short *ritem; extern short *rlhs;