summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--syslogd.c2
-rw-r--r--syslogd.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/syslogd.c b/syslogd.c
index 219bd9c5..77e430cf 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -326,7 +326,7 @@ static int bGlblDone = 0;
static int bParseHOSTNAMEandTAG = 1; /* global config var: should the hostname and tag be
* parsed inside message - rgerhards, 2006-03-13 */
-int bFinished = 0; /* used by termination signal handler, read-only except there
+static int bFinished = 0; /* used by termination signal handler, read-only except there
* is either 0 or the number of the signal that requested the
* termination.
*/
diff --git a/syslogd.h b/syslogd.h
index 30a1d978..655c01fc 100644
--- a/syslogd.h
+++ b/syslogd.h
@@ -70,9 +70,6 @@ int getSubString(uchar **ppSrc, char *pDst, size_t DstSize, char cSep);
*/
void logmsgInternal(int pri, char *msg, int flags);
void logmsg(int pri, msg_t *pMsg, int flags);
-extern int bFinished; /* used by termination signal handler, read-only except there */
-extern int AcceptRemote; /* receive messages that come via UDP - read-only after startup */
-
extern int glblHadMemShortage; /* indicates if we had memory shortage some time during the run */
extern char LocalHostName[];
extern int family;