diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-23 11:22:07 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-23 11:22:07 +0200 |
commit | d798f5b66f4ae699f352b6c40abd07495eff8f94 (patch) | |
tree | a5b7aa9e90a6639f2b86a3d7f3a5e13615055907 /runtime/rsyslog.h | |
parent | ce5869f7c41c8db943d8cbe804b69af40d43e2e6 (diff) | |
download | rsyslog-d798f5b66f4ae699f352b6c40abd07495eff8f94.tar.gz rsyslog-d798f5b66f4ae699f352b6c40abd07495eff8f94.tar.xz rsyslog-d798f5b66f4ae699f352b6c40abd07495eff8f94.zip |
some more optimizations
- done malloc() instead of calloc() for msg_t, as we have large space
which needs not be initialized
- shrunk syslogTime structure in the hope to get better cache and
write performance (non-aligned data should not hurt much here)
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r-- | runtime/rsyslog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h index 692b1327..ac068d5e 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -101,6 +101,7 @@ 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 char intTiny; /* 0..127! */ #ifdef __hpux typedef unsigned int u_int32_t; /* TODO: is this correct? */ |