summaryrefslogtreecommitdiffstats
path: root/ctdb/lib/replace/replace.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-08-18 09:16:31 +0930
committerRusty Russell <rusty@rustcorp.com.au>2010-08-18 09:16:31 +0930
commitf93440c4b7febb67e23580a6217ada832fa6318a (patch)
tree2c86215a1673329bdb3486e6bcd9bb74f2e1088f /ctdb/lib/replace/replace.h
parent532e4a7077524c699b88d0b7c02984d5920e1c58 (diff)
downloadsamba-f93440c4b7febb67e23580a6217ada832fa6318a.tar.gz
samba-f93440c4b7febb67e23580a6217ada832fa6318a.tar.xz
samba-f93440c4b7febb67e23580a6217ada832fa6318a.zip
event: Update events to latest Samba version 0.9.8
In Samba this is now called "tevent", and while we use the backwards compatibility wrappers they don't offer EVENT_FD_AUTOCLOSE: that is now a separate tevent_fd_set_auto_close() function. This is based on Samba version 7f29f817fa939ef1bbb740584f09e76e2ecd5b06. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (This used to be ctdb commit 85e5e760cc91eb3157d3a88996ce474491646726)
Diffstat (limited to 'ctdb/lib/replace/replace.h')
-rw-r--r--ctdb/lib/replace/replace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/lib/replace/replace.h b/ctdb/lib/replace/replace.h
index f8a89a7213..c212f433a4 100644
--- a/ctdb/lib/replace/replace.h
+++ b/ctdb/lib/replace/replace.h
@@ -546,4 +546,7 @@ typedef int bool;
#define QSORT_CAST (int (*)(const void *, const void *))
#endif
+/* These should be properly defined for libraries to control visibility. */
+#define _PRIVATE_
+#define _PUBLIC_
#endif /* _LIBREPLACE_REPLACE_H */