From 4cb698292730379d4794a29bb7e68535a7f82e18 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 18 May 2012 00:00:21 +0000 Subject: praise clang++ --- ev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ev.c') diff --git a/ev.c b/ev.c index 0e94222..d5d3292 100644 --- a/ev.c +++ b/ev.c @@ -1107,7 +1107,7 @@ ev_printerr (const char *msg) static void (*syserr_cb)(const char *msg) EV_THROW; void ecb_cold -ev_set_syserr_cb (void (*cb)(const char *msg)) EV_THROW +ev_set_syserr_cb (void (*cb)(const char *msg) EV_THROW) EV_THROW { syserr_cb = cb; } @@ -1135,7 +1135,7 @@ ev_syserr (const char *msg) } static void * -ev_realloc_emul (void *ptr, long size) +ev_realloc_emul (void *ptr, long size) EV_THROW { #if __GLIBC__ return realloc (ptr, size); @@ -1156,7 +1156,7 @@ ev_realloc_emul (void *ptr, long size) static void *(*alloc)(void *ptr, long size) EV_THROW = ev_realloc_emul; void ecb_cold -ev_set_allocator (void *(*cb)(void *ptr, long size)) EV_THROW +ev_set_allocator (void *(*cb)(void *ptr, long size) EV_THROW) EV_THROW { alloc = cb; } -- cgit v1.2.3