diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2019-12-04 01:35:27 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 19:54:28 -0400 |
commit | c8cd7cf49b420a33a6ebdccb795d45963b1fd381 (patch) | |
tree | b1e8e5adb5bd7099b2504dab4ced82576e09dc91 /src/log.h | |
parent | 409bba80b13313ae0baf1d298b7661dcd32f142b (diff) | |
download | lighttpd-git-c8cd7cf49b420a33a6ebdccb795d45963b1fd381.tar.gz |
[multiple] extern log_epoch_secs
replace srv->cur_ts
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |