]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
log: Removed unnecessary common.h.
authorTimo Sirainen <tss@iki.fi>
Fri, 19 Feb 2010 03:17:57 +0000 (05:17 +0200)
committerTimo Sirainen <tss@iki.fi>
Fri, 19 Feb 2010 03:17:57 +0000 (05:17 +0200)
--HG--
branch : HEAD

src/log/Makefile.am
src/log/common.h [deleted file]
src/log/log-connection.c
src/log/main.c

index 7bcaa351671313595ea2f813f29a2b2b7c1334aa..b2065aa51c5c4d6f9c0bbf3abac7cd4a112a37fa 100644 (file)
@@ -16,5 +16,4 @@ log_SOURCES = \
        main.c
 
 noinst_HEADERS = \
-       common.h \
        log-connection.h
diff --git a/src/log/common.h b/src/log/common.h
deleted file mode 100644 (file)
index a6ce01f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef COMMON_H
-#define COMMON_H
-
-#include "lib.h"
-
-extern pid_t master_pid;
-
-#endif
index 09bf04e6c362b1515bbab0a69d9ac815311f0d20..10962ee4b85e6b89ddf5b8d3e070beda118aafdd 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2005-2010 Dovecot authors, see the included COPYING file */
 
-#include "common.h"
+#include "lib.h"
 #include "array.h"
 #include "ioloop.h"
 #include "istream.h"
index 1ddf9786692ca8bc64f6fad71c8bbaa080e877a6..8ae655d904868cf0944c9c3e051595e7b4588774 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2005-2010 Dovecot authors, see the included COPYING file */
 
-#include "common.h"
+#include "lib.h"
 #include "lib-signals.h"
 #include "restrict-access.h"
 #include "master-interface.h"
@@ -10,8 +10,6 @@
 
 #include <unistd.h>
 
-pid_t master_pid;
-
 static void
 sig_reopen_logs(const siginfo_t *si ATTR_UNUSED, void *context ATTR_UNUSED)
 {
@@ -22,7 +20,6 @@ static void main_init(void)
 {
        lib_signals_set_handler(SIGUSR1, TRUE, sig_reopen_logs, NULL);
 
-       master_pid = getppid();
        log_connections_init();
 }