]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
make timed_event structure private to events_timed.c
authorAndrew Tridgell <tridge@samba.org>
Wed, 25 Jul 2007 01:43:27 +0000 (11:43 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 25 Jul 2007 01:43:27 +0000 (11:43 +1000)
(This used to be ctdb commit 4a61132e2a4f6beca8e9148307c7ec16cb74bb08)

ctdb/lib/events/events_internal.h
ctdb/lib/events/events_timed.c

index d8c14ead952f6c62f5b4c70b176e10c488625159..98d94fe9cfd6dadf3d7c4c191813c70bfa509ff7 100644 (file)
@@ -71,17 +71,6 @@ struct fd_event {
        void *additional_data;
 };
 
-struct timed_event {
-       struct timed_event *prev, *next;
-       struct event_context *event_ctx;
-       struct timeval next_event;
-       event_timed_handler_t handler;
-       /* this is private for the specific handler */
-       void *private_data;
-       /* this is private for the events_ops implementation */
-       void *additional_data;
-};
-
 struct signal_event {
        struct signal_event *prev, *next;
        struct event_context *event_ctx;
index 389c2cbbb7c7dd4349b93260a3f7853a34ee1955..344a1a456260388973ade06b11821aa21b0e3313 100644 (file)
 #include "lib/events/events.h"
 #include "lib/events/events_internal.h"
 
+struct timed_event {
+       struct timed_event *prev, *next;
+       struct event_context *event_ctx;
+       struct timeval next_event;
+       event_timed_handler_t handler;
+       /* this is private for the specific handler */
+       void *private_data;
+       /* this is private for the events_ops implementation */
+       void *additional_data;
+};
+
 /*
   destroy a timed event
 */