diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-25 15:33:49 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-25 15:33:49 +0200 |
commit | 46435e2c3b2ca31aca641aba290173142fae540c (patch) | |
tree | f0dada72f30394343caa23e52cbceeda102076bf /runtime/datetime.c | |
parent | b82f9ae304b8cdfada55d7dce93daf50cf7f8578 (diff) | |
download | rsyslog-46435e2c3b2ca31aca641aba290173142fae540c.tar.gz rsyslog-46435e2c3b2ca31aca641aba290173142fae540c.tar.xz rsyslog-46435e2c3b2ca31aca641aba290173142fae540c.zip |
cleanup (removed now-unused parameters)
Diffstat (limited to 'runtime/datetime.c')
-rw-r--r-- | runtime/datetime.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/datetime.c b/runtime/datetime.c index c0e145af..e0f3f5fa 100644 --- a/runtime/datetime.c +++ b/runtime/datetime.c @@ -546,7 +546,7 @@ finalize_it: * returns the size of the timestamp written in bytes (without * the string terminator). If 0 is returend, an error occured. */ -int formatTimestampToMySQL(struct syslogTime *ts, char* pBuf, size_t iLenDst) +int formatTimestampToMySQL(struct syslogTime *ts, char* pBuf) { /* currently we do not consider localtime/utc. This may later be * added. If so, I recommend using a property replacer option @@ -577,7 +577,7 @@ int formatTimestampToMySQL(struct syslogTime *ts, char* pBuf, size_t iLenDst) } -int formatTimestampToPgSQL(struct syslogTime *ts, char *pBuf, size_t iLenDst) +int formatTimestampToPgSQL(struct syslogTime *ts, char *pBuf) { /* see note in formatTimestampToMySQL, applies here as well */ assert(ts != NULL); @@ -655,7 +655,7 @@ int formatTimestampSecFrac(struct syslogTime *ts, char* pBuf) * returns the size of the timestamp written in bytes (without * the string terminator). If 0 is returend, an error occured. */ -int formatTimestamp3339(struct syslogTime *ts, char* pBuf, size_t iLenBuf) +int formatTimestamp3339(struct syslogTime *ts, char* pBuf) { int iBuf; int power; @@ -732,7 +732,7 @@ int formatTimestamp3339(struct syslogTime *ts, char* pBuf, size_t iLenBuf) * returns the size of the timestamp written in bytes (without * the string termnator). If 0 is returend, an error occured. */ -int formatTimestamp3164(struct syslogTime *ts, char* pBuf, size_t iLenBuf) +int formatTimestamp3164(struct syslogTime *ts, char* pBuf) { static char* monthNames[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; |