From fd7dc3024c9a55a99b05c9d7ba2c6e6f2ec3eb57 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Fri, 23 Jun 2000 00:07:05 +0000 Subject: [PATCH] - Don't need SUCCESS/FAILURE anymore --- Zend/zend_static_allocator.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Zend/zend_static_allocator.h b/Zend/zend_static_allocator.h index dde3f7fddc..902780716e 100644 --- a/Zend/zend_static_allocator.h +++ b/Zend/zend_static_allocator.h @@ -21,7 +21,10 @@ #define ALLOCATOR_BLOCK_SIZE 400000 +/* Temporary */ typedef unsigned int zend_uint; +#define emalloc(s) malloc(s) +#define efree(p) free(p) typedef struct _Block { char *bp; @@ -39,10 +42,4 @@ int static_allocator_init(StaticAllocator *sa); char *static_allocator_allocate(StaticAllocator *sa, zend_uint size); void static_allocator_destroy(StaticAllocator *sa); -/* Temporary */ -#define emalloc(s) malloc(s) -#define efree(p) free(p) -#define SUCCESS 0 -#define FAILURE -1 - #endif /* _STATIC_ALLOCATOR_H */ -- 2.50.1