diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 18:08:23 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 18:08:23 +0000 |
commit | 837a1d93148242a3b85ca50843c6141b0ce6a062 (patch) | |
tree | 84e7317c6cf9f774f89d34673128010f4ac70dd0 | |
parent | b38049e29cbf1aa56428c0ed7e68f49f2aef810b (diff) | |
download | rsyslog-837a1d93148242a3b85ca50843c6141b0ce6a062.tar.gz rsyslog-837a1d93148242a3b85ca50843c6141b0ce6a062.tar.xz rsyslog-837a1d93148242a3b85ca50843c6141b0ce6a062.zip |
removed gloable variable AcceptRemote and external def of bFinished
-rw-r--r-- | syslogd.c | 2 | ||||
-rw-r--r-- | syslogd.h | 3 |
2 files changed, 1 insertions, 4 deletions
@@ -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. */ @@ -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; |