about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-08-19 01:56:39 +0100
committerJames Booth <boothj5@gmail.com>2012-08-19 01:56:39 +0100
commit52bcdc1cee716e5ee09640158f98273e2f2e1ef0 (patch)
tree03b66516e51b39ec72a0eb51925a5e2113da991e
parent53bff1b73ab701ffa9584bee3f6aedecdb15b023 (diff)
downloadprofani-tty-52bcdc1cee716e5ee09640158f98273e2f2e1ef0.tar.gz
Removed extern for log
-rw-r--r--src/log.c2
-rw-r--r--src/log.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/log.c b/src/log.c
index 8998ac73..2952fcaa 100644
--- a/src/log.c
+++ b/src/log.c
@@ -28,7 +28,7 @@
 #include "log.h"
 #include "common.h"
 
-extern FILE *logp;
+static FILE *logp;
 
 static GTimeZone *tz;
 static GDateTime *dt;
diff --git a/src/log.h b/src/log.h
index 51e0994c..6cf175df 100644
--- a/src/log.h
+++ b/src/log.h
@@ -29,9 +29,6 @@
 #define PROF "prof"
 #define CONN "conn"
 
-// file log
-FILE *logp; 
-
 void log_init(void);
 void log_msg(const char * const area, const char * const msg);
 void log_close(void);