From 2550bbc981a25b5a37525d99201498b81bb93572 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 18 Apr 2010 12:47:00 +1000 Subject: tevent: mark backend init fns as _PRIVATE_ these are not supposed to be exposed in the library --- lib/tevent/tevent_epoll.c | 2 +- lib/tevent/tevent_select.c | 2 +- lib/tevent/tevent_standard.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tevent') diff --git a/lib/tevent/tevent_epoll.c b/lib/tevent/tevent_epoll.c index 7c7f389d5b..3b99d47d9b 100644 --- a/lib/tevent/tevent_epoll.c +++ b/lib/tevent/tevent_epoll.c @@ -437,7 +437,7 @@ static const struct tevent_ops epoll_event_ops = { .loop_wait = tevent_common_loop_wait, }; -bool tevent_epoll_init(void) +_PRIVATE_ bool tevent_epoll_init(void) { return tevent_register_backend("epoll", &epoll_event_ops); } diff --git a/lib/tevent/tevent_select.c b/lib/tevent/tevent_select.c index d97418991a..1598094d2d 100644 --- a/lib/tevent/tevent_select.c +++ b/lib/tevent/tevent_select.c @@ -241,7 +241,7 @@ static const struct tevent_ops select_event_ops = { .loop_wait = tevent_common_loop_wait, }; -bool tevent_select_init(void) +_PRIVATE_ bool tevent_select_init(void) { return tevent_register_backend("select", &select_event_ops); } diff --git a/lib/tevent/tevent_standard.c b/lib/tevent/tevent_standard.c index c3f8b36e84..1c8ed0e6ac 100644 --- a/lib/tevent/tevent_standard.c +++ b/lib/tevent/tevent_standard.c @@ -562,7 +562,7 @@ static const struct tevent_ops std_event_ops = { }; -bool tevent_standard_init(void) +_PRIVATE_ bool tevent_standard_init(void) { return tevent_register_backend("standard", &std_event_ops); } -- cgit