comparison src/ralloc.c @ 373:6240c7796c7a r21-2b2

Import from CVS: tag r21-2b2
author cvs
date Mon, 13 Aug 2007 11:04:06 +0200
parents cc15677e0335
children 8626e4521993
comparison
equal deleted inserted replaced
372:49e1ed2d7ed8 373:6240c7796c7a
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 /* extern POINTER (*__morecore) (long size); */ 1111 #ifndef DOUG_LEA_MALLOC
1112 extern POINTER (*__morecore) (long size);
1113 #endif
1112 1114
1113 /* Initialize various things for memory allocation. */ 1115 /* Initialize various things for memory allocation. */
1114 1116
1115 #define SET_FUN_PTR(fun_ptr, fun_val) \ 1117 #define SET_FUN_PTR(fun_ptr, fun_val) \
1116 (*((void **) (&fun_ptr)) = ((void *) (fun_val))) 1118 (*((void **) (&fun_ptr)) = ((void *) (fun_val)))