summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev++.h4
-rw-r--r--ev.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/ev++.h b/ev++.h
index 283f6eb..f6c0d25 100644
--- a/ev++.h
+++ b/ev++.h
@@ -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);
}
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;
}