From: Sven-Haegar Koch Date: Sat, 28 May 2011 00:57:40 +0000 (+0200) Subject: Use same definition for xalloc_fail_func as is really used. X-Git-Tag: import-tinc-1.1~518 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=bbd0025ae323e7141ba04a5371ec2f3f75f9b059;p=meshlink Use same definition for xalloc_fail_func as is really used. --- diff --git a/src/xalloc.h b/src/xalloc.h index 51f99bdf..952f9217 100644 --- a/src/xalloc.h +++ b/src/xalloc.h @@ -16,7 +16,7 @@ extern int xalloc_exit_failure; extern char *const xalloc_msg_memory_exhausted; /* FIXME: describe */ -extern void (*xalloc_fail_func) (); +extern void (*xalloc_fail_func) (int); void *xmalloc PARAMS ((size_t n)) __attribute__ ((__malloc__)); void *xmalloc_and_zero PARAMS ((size_t n)) __attribute__ ((__malloc__));