chiark / gitweb /
cleanup: fix up the type of string buffers
[secnet.git] / log.c
diff --git a/log.c b/log.c
index 32aed704b06e20e595ef366661426103fac6342f..f4ef8000605c866121031ecb4babf2965c2aa1ff 100644 (file)
--- a/log.c
+++ b/log.c
@@ -8,6 +8,7 @@
 #include <assert.h>
 #include <unistd.h>
 #include "process.h"
+#include "util.h"
 
 bool_t secnet_is_daemon=False;
 uint32_t message_level=M_WARNING|M_ERR|M_SECURITY|M_FATAL;
@@ -554,7 +555,6 @@ void log_from_fd(int fd, cstring_t prefix, struct log_if *log)
                      prefix);
 }
 
-init_module log_module;
 void log_module(dict_t *dict)
 {
     add_closure(dict,"logfile",logfile_apply);