From 1b2057a539a8077743ee479ac9ca526ea6d031e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Sun, 26 Apr 1998 04:45:21 -0700 Subject: [PATCH] warning removed Rev: src/object.c:1.49 Rev: src/svalue.c:1.29 --- src/object.c | 4 ++-- src/svalue.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/object.c b/src/object.c index dfe941db33..07399449e6 100644 --- a/src/object.c +++ b/src/object.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: object.c,v 1.48 1998/04/24 00:32:09 hubbe Exp $"); +RCSID("$Id: object.c,v 1.49 1998/04/26 11:42:00 hubbe Exp $"); #include "object.h" #include "dynamic_buffer.h" #include "interpret.h" @@ -214,7 +214,7 @@ struct object *get_master(void) /* do nothing */ UNSETJMP(tmp); }else{ - extern f_decode_value(INT32); + extern void f_decode_value(INT32); push_string(s); push_int(0); diff --git a/src/svalue.c b/src/svalue.c index 40e6845026..b0277e6b3f 100644 --- a/src/svalue.c +++ b/src/svalue.c @@ -20,7 +20,7 @@ #include "pike_macros.h" #include <ctype.h> -RCSID("$Id: svalue.c,v 1.28 1998/04/24 00:10:44 hubbe Exp $"); +RCSID("$Id: svalue.c,v 1.29 1998/04/26 11:45:21 hubbe Exp $"); struct svalue dest_ob_zero = { T_INT, 0 }; @@ -141,7 +141,7 @@ void debug_free_svalues(struct svalue *s,INT32 num, INT32 type_hint LINE_ARGS) case BIT_FLOAT | BIT_INT: return; -#define DOTYPE(X,Y,Z) case X:while(--num>=0) { debug_malloc_update_location(s->u.Z, file, line); Y(s->u.Z); s++; }return +#define DOTYPE(X,Y,Z) case X:while(--num>=0) { DO_IF_DMALLOC(debug_malloc_update_location(s->u.Z, file, line)); Y(s->u.Z); s++; }return DOTYPE(BIT_STRING, free_string, string); DOTYPE(BIT_ARRAY, free_array, array); DOTYPE(BIT_MAPPING, free_mapping, mapping); -- GitLab