X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/a083fbbf221545ea6e68a831da060d8834f36eca..74a53b4b48462dabfbbeda1f033c48398a68c454:/src/derives.c diff --git a/src/derives.c b/src/derives.c index 33a8a035..e8c70402 100644 --- a/src/derives.c +++ b/src/derives.c @@ -25,15 +25,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include "system.h" -#include "new.h" +#include "alloc.h" #include "types.h" #include "gram.h" +void set_derives PARAMS((void)); +void free_derives PARAMS((void)); short **derives; void -set_derives() +set_derives (void) { register int i; register int lhs; @@ -82,7 +84,7 @@ set_derives() } void -free_derives() +free_derives (void) { FREE(derives[ntokens]); FREE(derives + ntokens); @@ -92,7 +94,8 @@ free_derives() #ifdef DEBUG -print_derives() +void +print_derives (void) { register int i; register short *sp; @@ -115,4 +118,3 @@ print_derives() } #endif -