diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-18 12:47:00 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-18 15:00:38 +1000 |
commit | 2550bbc981a25b5a37525d99201498b81bb93572 (patch) | |
tree | 00c06cca5c7053801fd5e93e15309ef17e417feb | |
parent | 805f651dbf70f90ea7dab192cbe498b41fc47dc3 (diff) | |
download | samba-2550bbc981a25b5a37525d99201498b81bb93572.tar.gz samba-2550bbc981a25b5a37525d99201498b81bb93572.tar.bz2 samba-2550bbc981a25b5a37525d99201498b81bb93572.zip |
tevent: mark backend init fns as _PRIVATE_
these are not supposed to be exposed in the library
-rw-r--r-- | lib/tevent/tevent_epoll.c | 2 | ||||
-rw-r--r-- | lib/tevent/tevent_select.c | 2 | ||||
-rw-r--r-- | lib/tevent/tevent_standard.c | 2 |
3 files changed, 3 insertions, 3 deletions
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); } |