From f45dfe93af0c7f5598a8ea953e6b2b82a5427a7c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 16 Jun 2009 13:00:04 +0200 Subject: minor cleanup --- runtime/rsyslog.h | 1 - tcps_sess.c | 2 -- 2 files changed, 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? */ -- cgit