Signed-off-by: Ben Pfaff <[email protected]>
---
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 5fa1c6c..c2c3a45 100644
--- a/lib/vlog.c
+++ b/lib/vlog.c
@@ -270,16 +270,6 @@ vlog_set_pattern(enum vlog_facility facility, const char
*pattern)
}
}
-/* Returns the name of the log file used by VLF_FILE, or a null pointer if no
- * log file has been set. (A non-null return value does not assert that the
- * named log file is in use: if vlog_set_log_file() or vlog_reopen_log_file()
- * fails, it still sets the log file name.) */
-const char *
-vlog_get_log_file(void)
-{
- return log_file_name;
-}
-
/* Sets the name of the log file used by VLF_FILE to 'file_name', or to the
* default file name if 'file_name' is null. Returns 0 if successful,
* otherwise a positive errno value. */
diff --git a/lib/vlog.h b/lib/vlog.h
index da0aa0c..840415a 100644
--- a/lib/vlog.h
+++ b/lib/vlog.h
@@ -127,7 +127,6 @@ void vlog_set_verbosity(const char *arg);
/* Configuring log facilities. */
void vlog_set_pattern(enum vlog_facility, const char *pattern);
-const char *vlog_get_log_file(void);
int vlog_set_log_file(const char *file_name);
int vlog_reopen_log_file(void);
--
1.7.2.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev