From: Stefan Metzmacher Date: Mon, 5 Jan 2009 09:53:12 +0000 (+0100) Subject: tevent: fix tevent_add_timer() and tevent_add_aio() macros X-Git-Tag: samba-4.0.0alpha6~281^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beb8b8fc2d02295e81def260d2449fb393bab259;p=thirdparty%2Fsamba.git tevent: fix tevent_add_timer() and tevent_add_aio() macros metze --- diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h index b57d96f5fb9..98d31aa7c4c 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);