alloc.h | alloc.h | |||
---|---|---|---|---|
skipping to change at line 12 | skipping to change at line 12 | |||
#define PROCPS_PROC_ALLOC_H | #define PROCPS_PROC_ALLOC_H | |||
#include "procps.h" | #include "procps.h" | |||
EXTERN_C_BEGIN | EXTERN_C_BEGIN | |||
/* change xalloc_err_handler to override the default fprintf(stderr... */ | /* change xalloc_err_handler to override the default fprintf(stderr... */ | |||
extern message_fn xalloc_err_handler; | extern message_fn xalloc_err_handler; | |||
extern void *xcalloc(unsigned int size) MALLOC; | extern void *xcalloc(unsigned int size) MALLOC; | |||
extern void *xmalloc(unsigned int size) MALLOC; | extern void *xmalloc(size_t size) MALLOC; | |||
extern void *xrealloc(void *oldp, unsigned int size) MALLOC; | extern void *xrealloc(void *oldp, unsigned int size) MALLOC; | |||
extern char *xstrdup(const char *str) MALLOC; | extern char *xstrdup(const char *str) MALLOC; | |||
EXTERN_C_END | EXTERN_C_END | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||