From 13e01d48e97a1215993af98198b9eb6613d71f62 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Sun, 16 Dec 2001 19:51:58 +0100 Subject: [PATCH] Fixed some warnings when using dmalloc. Rev: src/las.h:1.54 Rev: src/program.h:1.150 --- src/las.h | 3 ++- src/program.h | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/las.h b/src/las.h index 871c639302..30b7154551 100644 --- a/src/las.h +++ b/src/las.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: las.h,v 1.53 2001/09/29 06:19:27 hubbe Exp $ + * $Id: las.h,v 1.54 2001/12/16 18:51:57 mast Exp $ */ #ifndef LAS_H #define LAS_H @@ -29,6 +29,7 @@ void yytype_error(char *msg, struct pike_type *expected_t, void yyerror(char *s); int islocal(struct pike_string *str); int verify_declared(struct pike_string *str); +void cleanup_compiler(void); extern int cumulative_parse_error; diff --git a/src/program.h b/src/program.h index 4ae8fe3830..77b56e098d 100644 --- a/src/program.h +++ b/src/program.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: program.h,v 1.149 2001/12/14 03:44:52 mast Exp $ + * $Id: program.h,v 1.150 2001/12/16 18:51:58 mast Exp $ */ #ifndef PROGRAM_H #define PROGRAM_H @@ -18,6 +18,7 @@ #include "time_stuff.h" #include "program_id.h" #include "pikecode.h" +#include "block_alloc_h.h" #define STRUCT #include "compilation.h" @@ -377,6 +378,8 @@ struct program #define free_program(p) do{ struct program *_=(p); debug_malloc_touch(_); if(!sub_ref(_)) really_free_program(_); }while(0) +BLOCK_ALLOC(program, n/a); + extern struct object *error_handler; extern struct object *compat_handler; -- GitLab