summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-16 13:00:04 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-16 13:00:04 +0200
commitf45dfe93af0c7f5598a8ea953e6b2b82a5427a7c (patch)
treefcb41768578cd0f595bee718bdd49758b7641acc
parent98348ae03d217d1971c54ff135b6a5ce1dff7087 (diff)
downloadrsyslog-f45dfe93af0c7f5598a8ea953e6b2b82a5427a7c.tar.gz
rsyslog-f45dfe93af0c7f5598a8ea953e6b2b82a5427a7c.tar.xz
rsyslog-f45dfe93af0c7f5598a8ea953e6b2b82a5427a7c.zip
minor cleanup
-rw-r--r--runtime/rsyslog.h1
-rw-r--r--tcps_sess.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 0fafd700..e81c9eef 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -99,7 +99,6 @@ typedef struct strmLstnPortList_s strmLstnPortList_t; // TODO: rename?
typedef long long int64;
typedef long long unsigned uint64;
typedef int64 number_t; /* type to use for numbers - TODO: maybe an autoconf option? */
-typedef short bool;
#ifdef __hpux
typedef unsigned int u_int32_t; /* TODO: is this correct? */
diff --git a/tcps_sess.c b/tcps_sess.c
index b8ea0878..62882f5b 100644
--- a/tcps_sess.c
+++ b/tcps_sess.c
@@ -56,8 +56,6 @@ DEFobjCurrIf(datetime)
static int iMaxLine; /* maximum size of a single message */
-#define TIME_REQUERY_DFLT 16 // TODO change back! 2
-static int iTimeRequery = TIME_REQUERY_DFLT;/* how often is time to be queried inside tight recv loop? 0=always */
static int iNbrTimeUsed = 0; /* how often has previous time been used so far? */