vlog: Remove unused function vlog_get_log_file().
authorBen Pfaff <blp@nicira.com>
Wed, 10 Jul 2013 21:06:15 +0000 (14:06 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 12 Jul 2013 21:31:44 +0000 (14:31 -0700)
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ed Maste <emaste@freebsd.org>
lib/vlog.c
lib/vlog.h

index f6f1676..a5a1526 100644 (file)
@@ -268,16 +268,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. */
index b2e1d49..ff93d30 100644 (file)
@@ -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);