diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-05 10:53:12 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-05 10:53:39 +0100 |
commit | beb8b8fc2d02295e81def260d2449fb393bab259 (patch) | |
tree | d2ee8fc0834557c8db9afa3fb5ed624eaf6a08a7 | |
parent | 83b2f1483f786711e855bdeeccb2b7bfa6d413e3 (diff) | |
download | samba-beb8b8fc2d02295e81def260d2449fb393bab259.tar.gz samba-beb8b8fc2d02295e81def260d2449fb393bab259.tar.bz2 samba-beb8b8fc2d02295e81def260d2449fb393bab259.zip |
tevent: fix tevent_add_timer() and tevent_add_aio() macros
metze
-rw-r--r-- | lib/tevent/tevent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h index b57d96f5fb..98d31aa7c4 100644 --- a/lib/tevent/tevent.h +++ b/lib/tevent/tevent.h @@ -82,7 +82,7 @@ struct tevent_timer *_tevent_add_timer(struct tevent_context *ev, const char *location); #define tevent_add_timer(ev, mem_ctx, next_event, handler, private_data) \ _tevent_add_timer(ev, mem_ctx, next_event, handler, private_data, \ - #handler, __location__); + #handler, __location__) struct tevent_signal *_tevent_add_signal(struct tevent_context *ev, TALLOC_CTX *mem_ctx, @@ -106,7 +106,7 @@ struct tevent_aio *_tevent_add_aio(struct tevent_context *ev, const char *location); #define tevent_add_aio(ev, mem_ctx, iocb, handler, private_data) \ _tevent_add_aio(ev, mem_ctx, iocb, handler, private_data, \ - #handler, __location__); + #handler, __location__) int tevent_loop_once(struct tevent_context *ev); int tevent_loop_wait(struct tevent_context *ev); |