summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-12-04 01:35:27 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 19:54:28 -0400
commitc8cd7cf49b420a33a6ebdccb795d45963b1fd381 (patch)
treeb1e8e5adb5bd7099b2504dab4ced82576e09dc91 /src/log.h
parent409bba80b13313ae0baf1d298b7661dcd32f142b (diff)
downloadlighttpd-git-c8cd7cf49b420a33a6ebdccb795d45963b1fd381.tar.gz
[multiple] extern log_epoch_secs
replace srv->cur_ts
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/log.h b/src/log.h
index efb5abeb..83069778 100644
--- a/src/log.h
+++ b/src/log.h
@@ -5,6 +5,8 @@
#include "base_decls.h"
#include "buffer.h"
+extern time_t log_epoch_secs;
+
struct timespec; /* declaration */
int log_clock_gettime_realtime (struct timespec *ts);
@@ -14,11 +16,10 @@ struct log_error_st {
enum { ERRORLOG_FILE, ERRORLOG_FD, ERRORLOG_SYSLOG, ERRORLOG_PIPE } errorlog_mode;
int errorlog_fd;
buffer *b;
- time_t *cur_ts;
};
__attribute_cold__
-log_error_st * log_error_st_init (time_t *cur_ts_ptr);
+log_error_st * log_error_st_init (void);
__attribute_cold__
void log_error_st_free (log_error_st *errh);