2 # if defined PROTOTYPES || (defined __STDC__ && __STDC__)
3 # define PARAMS(Args) Args
5 # define PARAMS(Args) ()
9 /* Exit value when the requested amount of memory is not available.
10 The caller may set it to some other value. */
11 extern int xalloc_exit_failure
;
14 extern char *const xalloc_msg_memory_exhausted
;
17 extern void (*xalloc_fail_func
) ();
19 void *xmalloc
PARAMS ((size_t n
));
20 void *xcalloc
PARAMS ((size_t n
, size_t s
));
21 void *xrealloc
PARAMS ((void *p
, size_t n
));