diff options
author | msmith <msmith@FreeBSD.org> | 2000-01-05 01:09:34 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-01-05 01:09:34 +0000 |
commit | fe734395ef0627d6daa46e36cd3fa332a4b57f27 (patch) | |
tree | df445e119d5f9d64e0902b300f6b3907d7e12315 | |
parent | 33c444231e26dc615f79c2cd23beecbeb4aad505 (diff) | |
download | FreeBSD-src-fe734395ef0627d6daa46e36cd3fa332a4b57f27.zip FreeBSD-src-fe734395ef0627d6daa46e36cd3fa332a4b57f27.tar.gz |
Remove the unused 'func' arguments to the deregistration functions.
Submitted by: Darrell Anderson <anderson@cs.duke.edu>
-rw-r--r-- | sys/sys/eventhandler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/eventhandler.h b/sys/sys/eventhandler.h index 4ebdc21..d569226 100644 --- a/sys/sys/eventhandler.h +++ b/sys/sys/eventhandler.h @@ -84,8 +84,8 @@ do { \ #define EVENTHANDLER_FAST_REGISTER(name, func, arg, priority) \ eventhandler_register(Xeventhandler_list_ ## name, #name, func, arg, priority) -#define EVENTHANDLER_FAST_DEREGISTER(name, tag, func) \ - eventhandler_deregister(Xeventhandler_list ## name, tag, func) +#define EVENTHANDLER_FAST_DEREGISTER(name, tag) \ + eventhandler_deregister(Xeventhandler_list ## name, tag) /* @@ -119,12 +119,12 @@ do { \ #define EVENTHANDLER_REGISTER(name, func, arg, priority) \ eventhandler_register(NULL, #name, func, arg, priority) -#define EVENTHANDLER_DEREGISTER(name, tag, func) \ +#define EVENTHANDLER_DEREGISTER(name, tag) \ do { \ struct eventhandler_list *_el; \ \ if ((_el = eventhandler_find_list(#name)) != NULL) \ - eventhandler_deregister(_el, tag, func); \ + eventhandler_deregister(_el, tag); \ } while(0); |