comparison src/ralloc.c @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents 341dac730539
children 6240c7796c7a
comparison
equal deleted inserted replaced
370:bd866891f083 371:cc15677e0335
1106 } 1106 }
1107 1107
1108 1108
1109 /* The hook `malloc' uses for the function which gets more space 1109 /* The hook `malloc' uses for the function which gets more space
1110 from the system. */ 1110 from the system. */
1111 #ifndef DOUG_LEA_MALLOC 1111 /* extern POINTER (*__morecore) (long size); */
1112 extern POINTER (*__morecore) (long size);
1113 #endif
1114 1112
1115 /* Initialize various things for memory allocation. */ 1113 /* Initialize various things for memory allocation. */
1116 1114
1117 #define SET_FUN_PTR(fun_ptr, fun_val) \ 1115 #define SET_FUN_PTR(fun_ptr, fun_val) \
1118 (*((void **) (&fun_ptr)) = ((void *) (fun_val))) 1116 (*((void **) (&fun_ptr)) = ((void *) (fun_val)))