tevent: mark backend init fns as _PRIVATE_
authorAndrew Tridgell <tridge@samba.org>
Sun, 18 Apr 2010 02:47:00 +0000 (12:47 +1000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 18 Apr 2010 05:00:38 +0000 (15:00 +1000)
these are not supposed to be exposed in the library

lib/tevent/tevent_epoll.c
lib/tevent/tevent_select.c
lib/tevent/tevent_standard.c

index 7c7f389d5b9879889da4006fa7fd6a79abcb6995..3b99d47d9b9c036ac305d01614223b93705037e7 100644 (file)
@@ -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);
 }
index d97418991ae3e3dd8bec6edd13d7fb5a0144b0ff..1598094d2d5dc87927ffab36e6f94f8f3e467def 100644 (file)
@@ -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);
 }
index c3f8b36e840faf52773d1e7c6327a23cf909c7c4..1c8ed0e6ac356351e69f96c0e3e086c77ef2025e 100644 (file)
@@ -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);
 }