diff options
| author | yangwei <[email protected]> | 2024-11-27 19:50:50 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2024-11-27 19:50:50 +0800 |
| commit | 35f3ec6e73b7996049c00bd410377cdcbfbd6ebe (patch) | |
| tree | 97ef369502bf742f5653dd0f9dfafa31fede8eef /infra/monitor/monitor_private.h | |
| parent | 405a62826e02a41af3350d976d4852377e03434c (diff) | |
🔧 build(fix aarch64 warning): ignore compile warning
Diffstat (limited to 'infra/monitor/monitor_private.h')
| -rw-r--r-- | infra/monitor/monitor_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/monitor/monitor_private.h b/infra/monitor/monitor_private.h index 2e18836..f366d06 100644 --- a/infra/monitor/monitor_private.h +++ b/infra/monitor/monitor_private.h @@ -243,7 +243,7 @@ extern "C" struct timeval time_now; struct stm_stat *stat; struct stm_spinlock *lock; // for dynamic register command, conn_close_cb - int (*gettime_cb)(struct timeval *tv, struct timezone *tz); + int (*gettime_cb)(struct timeval *tv, void *tz); struct monitor_connection current_conn; struct stm_pktdump_runtime *packet_dump; @@ -282,7 +282,7 @@ extern "C" /************************************************************************************************************/ /* monitor call gettimeofday(2) by default */ struct stellar_monitor_config *stellar_monitor_config_new(const char *toml); - int stellar_monitor_set_gettime_callback(struct stellar_monitor *stm, int (*gettime_cb)(struct timeval *tv, struct timezone *tz)); + int stellar_monitor_set_gettime_callback(struct stellar_monitor *stm, int (*gettime_cb)(struct timeval *tv, void *tz)); struct stellar_monitor *stellar_monitor_get(void); struct stm_connection_manager *stm_connection_insert(struct evhttp_connection *evconn); void stm_connection_update(struct stm_connection_manager *conn_mgr, const struct evhttp_connection *evconn); |
