git » nmdb » commit a43aaae

Make logfd static, it's not used outside log.c

author Alberto Bertogli
2008-06-01 04:31:17 UTC
committer Alberto Bertogli
2008-06-01 04:31:17 UTC
parent 0a81b54d3d45a026d45ac5beb45063d2cc2938aa

Make logfd static, it's not used outside log.c

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

nmdb/log.c +1 -1

diff --git a/nmdb/log.c b/nmdb/log.c
index b20b9f0..14c50a6 100644
--- a/nmdb/log.c
+++ b/nmdb/log.c
@@ -13,7 +13,7 @@
 
 
 /* Logging file descriptor, -1 if logging is disabled */
-int logfd = -1;
+static int logfd = -1;
 
 
 int log_init(void)