Initial entry
This commit is contained in:
14
util/int/alloc.h
Normal file
14
util/int/alloc.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
Rather than using malloc and realloc, which require testing
|
||||
afterwards, we use a version that will either succeed or call
|
||||
fatal().
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
|
||||
extern char *Realloc(), *Malloc();
|
||||
|
||||
/* reallocation factor */
|
||||
|
||||
#define allocfrac(s) ((s) * 3 / 2)
|
||||
|
||||
Reference in New Issue
Block a user