This is harder to implement once threads are introduced.

Signed-off-by: Ben Pfaff <b...@nicira.com>
---
 lib/vlog.c |   10 ----------
 lib/vlog.h |    1 -
 2 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/lib/vlog.c b/lib/vlog.c
index c2c3a45..d134c29 100644
--- a/lib/vlog.c
+++ b/lib/vlog.c
@@ -578,16 +578,6 @@ vlog_init(void)
                              vlog_unixctl_reopen, NULL);
 }
 
-/* Closes the logging subsystem. */
-void
-vlog_exit(void)
-{
-    if (vlog_inited) {
-        closelog();
-        vlog_inited = false;
-    }
-}
-
 /* Print the current logging level for each module. */
 char *
 vlog_get_levels(void)
diff --git a/lib/vlog.h b/lib/vlog.h
index 840415a..eeec5fc 100644
--- a/lib/vlog.h
+++ b/lib/vlog.h
@@ -132,7 +132,6 @@ int vlog_reopen_log_file(void);
 
 /* Initialization. */
 void vlog_init(void);
-void vlog_exit(void);
 
 /* Functions for actual logging. */
 void vlog(const struct vlog_module *, enum vlog_level, const char *format, ...)
-- 
1.7.2.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to