diff options
author | jhb <jhb@FreeBSD.org> | 2000-10-25 00:01:39 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-10-25 00:01:39 +0000 |
commit | b8040f9ced260ed168c0b5f3565c979e081f4a78 (patch) | |
tree | 7f1aa037d110381a98fd41932893297737b7cd1e /sys/sys/eventhandler.h | |
parent | 5ee55d1bc1bbf650650e8b0ef8454a68d4d19b06 (diff) | |
download | FreeBSD-src-b8040f9ced260ed168c0b5f3565c979e081f4a78.zip FreeBSD-src-b8040f9ced260ed168c0b5f3565c979e081f4a78.tar.gz |
- Make the eventhandler_mutex mutex a private variable in
subr_eventhandler.c
- Move the extra #include's in sys/eventhandler.h to be protected by
the #ifndef SYS_EVENTHANDLER/#endif
Diffstat (limited to 'sys/sys/eventhandler.h')
-rw-r--r-- | sys/sys/eventhandler.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/sys/eventhandler.h b/sys/sys/eventhandler.h index cf0a605..c41acb5 100644 --- a/sys/sys/eventhandler.h +++ b/sys/sys/eventhandler.h @@ -26,12 +26,12 @@ * $FreeBSD$ */ -#include <sys/queue.h> -#include <sys/mutex.h> - #ifndef SYS_EVENTHANDLER_H #define SYS_EVENTHANDLER_H +#include <sys/queue.h> +#include <sys/mutex.h> + struct eventhandler_entry { TAILQ_ENTRY(eventhandler_entry) ee_link; @@ -50,7 +50,6 @@ struct eventhandler_list }; typedef struct eventhandler_entry *eventhandler_tag; -struct mtx eventhandler_mutex; /* * Fast handler lists require the eventhandler list be present |