summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-26 18:08:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-26 18:08:23 +0000
commit837a1d93148242a3b85ca50843c6141b0ce6a062 (patch)
tree84e7317c6cf9f774f89d34673128010f4ac70dd0
parentb38049e29cbf1aa56428c0ed7e68f49f2aef810b (diff)
downloadrsyslog-837a1d93148242a3b85ca50843c6141b0ce6a062.tar.gz
rsyslog-837a1d93148242a3b85ca50843c6141b0ce6a062.tar.xz
rsyslog-837a1d93148242a3b85ca50843c6141b0ce6a062.zip
removed gloable variable AcceptRemote and external def of bFinished
-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;