From e99de571ed95e6915ba12f3fb6874be0df96c14a Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Thu, 2 Oct 2008 01:43:45 +0200 Subject: [PATCH] Backed out a part that shouldn't have got in. Rev: src/array.h:1.81 --- src/array.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/array.h b/src/array.h index 975352b03d..2f973f997b 100644 --- a/src/array.h +++ b/src/array.h @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: array.h,v 1.80 2008/10/01 23:21:40 mast Exp $ +|| $Id: array.h,v 1.81 2008/10/01 23:43:45 mast Exp $ */ #ifndef ARRAY_H @@ -91,14 +91,6 @@ extern struct array *gc_internal_array; really_free_array(v_); \ }while(0) -/* FIXME: Maybe try to replace free_array with this in the future to - * catch more bugs, but there's code that requires the current one. */ -#define free_array_ptr(V) do { \ - struct array **vp_ = &(V); \ - free_array (*vp_); \ - MARK_INVALID_PTR (*vp_); \ - } while (0) - #define allocate_array(X) low_allocate_array((X),0) #define allocate_array_no_init(X,Y) low_allocate_array((X),(Y)) -- GitLab