From 2fac0f70a388d3a35a2d7883eeb673c6fbbe16e1 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 3 Mar 2010 12:15:15 -0500 Subject: [PATCH] Remove signal_assign() and signal_new() macros. These were introduced and deprecated in the same version (2.0.1-alpha), presumably in two-stage process. Everybody sane should be using evsignal_assign() and evsignal_new() instead. --- include/event2/event_compat.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/event2/event_compat.h b/include/event2/event_compat.h index 9e037f86..0abbc0e1 100644 --- a/include/event2/event_compat.h +++ b/include/event2/event_compat.h @@ -295,18 +295,6 @@ void event_set(struct event *, evutil_socket_t, short, void (*)(evutil_socket_t, */ #define signal_set(ev, x, cb, arg) \ event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg)) -/** - @deprecated This macro is deprecated because its naming is inconsistent. - The recommend macro is evsignal_assign(). -*/ -#define signal_assign(ev, b, x, cb, arg) \ - event_assign((ev), (b), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg)) -/** - @deprecated This macro is deprecated because its naming is inconsistent. - The recommend macro is evsignal_new(). -*/ -#define signal_new(b, x, cb, arg) \ - event_new((b), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg)) /** @deprecated This macro is deprecated because its naming is inconsistent. The recommend macro is evsignal_del(). -- 2.40.0