Skip to content
Snippets Groups Projects
Commit 6c2192c3 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Removed a PMOD_PROTO on really_free_mapping - we now use

do_free_mapping instead.

Rev: src/mapping.h:1.65
parent 7d64536d
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT. || This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information. || for more information.
|| $Id: mapping.h,v 1.64 2006/07/05 19:24:19 mast Exp $ || $Id: mapping.h,v 1.65 2006/08/06 16:10:02 mast Exp $
*/ */
#ifndef MAPPING_H #ifndef MAPPING_H
...@@ -93,6 +93,8 @@ extern struct mapping *gc_internal_mapping; ...@@ -93,6 +93,8 @@ extern struct mapping *gc_internal_mapping;
#define free_mapping(M) do_free_mapping (M) #define free_mapping(M) do_free_mapping (M)
#else #else
void really_free_mapping(struct mapping *md);
/** Free a previously allocated mapping. The preferred method of freeing /** Free a previously allocated mapping. The preferred method of freeing
* a mapping is by calling the @ref do_free_mapping function. * a mapping is by calling the @ref do_free_mapping function.
* *
...@@ -128,8 +130,6 @@ extern struct mapping *gc_internal_mapping; ...@@ -128,8 +130,6 @@ extern struct mapping *gc_internal_mapping;
/* FIXME: What about valrefs & hardlinks? */ \ /* FIXME: What about valrefs & hardlinks? */ \
}while(0) }while(0)
PMOD_PROTO void really_free_mapping(struct mapping *md);
/* Prototypes begin here */ /* Prototypes begin here */
BLOCK_ALLOC_FILL_PAGES(mapping, 2); BLOCK_ALLOC_FILL_PAGES(mapping, 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment