summaryrefslogtreecommitdiff
path: root/lib/tevent
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-23 22:57:11 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-23 22:57:11 +0100
commitbd64688c6aca6512efd0bd7d95000579beea3119 (patch)
treec05cf6c484f03b967c95508c13cce8179e08d3bc /lib/tevent
parent32e03f9fa55a4c897ade55b9b2e3740facfdcfd1 (diff)
downloadsamba-bd64688c6aca6512efd0bd7d95000579beea3119.tar.gz
samba-bd64688c6aca6512efd0bd7d95000579beea3119.tar.bz2
samba-bd64688c6aca6512efd0bd7d95000579beea3119.zip
Fix more compiler warnings in various places.
Diffstat (limited to 'lib/tevent')
-rw-r--r--lib/tevent/tevent_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/tevent_internal.h b/lib/tevent/tevent_internal.h
index 0d0755f298..9606fadd55 100644
--- a/lib/tevent/tevent_internal.h
+++ b/lib/tevent/tevent_internal.h
@@ -103,7 +103,7 @@ struct ev_debug_ops {
int ev_set_debug(struct event_context *ev,
void (*debug)(void *context, enum ev_debug_level level,
- const char *fmt, va_list ap),
+ const char *fmt, va_list ap) PRINTF_ATTRIBUTE(3,0),
void *context);
int ev_set_debug_stderr(struct event_context *ev);
void ev_debug(struct event_context *ev, enum ev_debug_level level, const char *fmt, ...);