Skip to content
Snippets Groups Projects
Commit ca8301b6 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Removed terminating semicolons from macros.

Rev: src/block_alloc_h.h:1.23
parent 63150eb7
No related branches found
No related tags found
No related merge requests found
......@@ -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: block_alloc_h.h,v 1.22 2004/12/07 21:18:34 grubba Exp $
|| $Id: block_alloc_h.h,v 1.23 2005/04/08 16:52:29 grubba Exp $
*/
#undef BLOCK_ALLOC
......@@ -27,11 +27,11 @@ void PIKE_CONCAT3(really_free_,DATA,_unlocked)(struct DATA *d); \
void PIKE_CONCAT(really_free_,DATA)(struct DATA *d); \
void PIKE_CONCAT3(free_all_,DATA,_blocks)(void); \
void PIKE_CONCAT3(count_memory_in_,DATA,s)(INT32 *num, INT32 *size); \
void PIKE_CONCAT3(init_,DATA,_blocks)(void); \
void PIKE_CONCAT3(init_,DATA,_blocks)(void)
#define PTR_HASH_ALLOC(DATA,BSIZE) \
BLOCK_ALLOC(DATA,BSIZE) \
BLOCK_ALLOC(DATA,BSIZE); \
extern struct DATA **PIKE_CONCAT(DATA,_hash_table); \
extern size_t PIKE_CONCAT(DATA,_hash_table_size); \
struct DATA *PIKE_CONCAT(find_,DATA)(void *ptr); \
......@@ -44,10 +44,10 @@ void PIKE_CONCAT(move_,DATA)(struct DATA *block, void *new_ptr); \
int PIKE_CONCAT(remove_,DATA)(void *ptr); \
void PIKE_CONCAT3(low_init_,DATA,_hash)(size_t); \
void PIKE_CONCAT3(init_,DATA,_hash)(void); \
void PIKE_CONCAT3(exit_,DATA,_hash)(void); \
void PIKE_CONCAT3(exit_,DATA,_hash)(void)
#define PTR_HASH_ALLOC_FIXED(DATA,BSIZE) \
PTR_HASH_ALLOC(DATA,BSIZE);
PTR_HASH_ALLOC(DATA,BSIZE)
#define BLOCK_ALLOC_FILL_PAGES(DATA,PAGES) BLOCK_ALLOC(DATA, n/a)
#define PTR_HASH_ALLOC_FILL_PAGES(DATA,PAGES) PTR_HASH_ALLOC(DATA, n/a)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment