diff options
author | root <root> | 2012-05-18 00:00:21 +0000 |
---|---|---|
committer | root <root> | 2012-05-18 00:00:21 +0000 |
commit | 4cb698292730379d4794a29bb7e68535a7f82e18 (patch) | |
tree | b62ccf9c4c504cc4eace91b780f1f0ad0ab24429 | |
parent | 47fe1e57e56447c355cec688abf269e23470e8c0 (diff) |
praise clang++
-rw-r--r-- | ev++.h | 4 | ||||
-rw-r--r-- | ev.c | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -552,12 +552,12 @@ namespace ev { return ev_embeddable_backends (); } - inline void set_allocator (void *(*cb)(void *ptr, long size)) throw () + inline void set_allocator (void *(*cb)(void *ptr, long size) throw ()) throw () { ev_set_allocator (cb); } - inline void set_syserr_cb (void (*cb)(const char *msg)) throw () + inline void set_syserr_cb (void (*cb)(const char *msg) throw ()) throw () { ev_set_syserr_cb (cb); } @@ -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; } |