diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2021-07-15 11:07:25 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2021-07-15 11:07:25 -0600 |
commit | 46c083f88f84102f6fc8c125d5bbbc0b5140cda5 (patch) | |
tree | 1e57408f6d8e7d98132dfb51b60249e400d574fb /include/sudo_eventlog.h | |
parent | 63ff28eb58c4f95e86135bf8177c9a15de48e6b9 (diff) | |
download | sudo-46c083f88f84102f6fc8c125d5bbbc0b5140cda5.tar.gz |
Remove unused info_cb and info arguments from eventlog_exit()
Diffstat (limited to 'include/sudo_eventlog.h')
-rw-r--r-- | include/sudo_eventlog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sudo_eventlog.h b/include/sudo_eventlog.h index 8fcd36440..76947d239 100644 --- a/include/sudo_eventlog.h +++ b/include/sudo_eventlog.h @@ -124,7 +124,7 @@ struct json_container; typedef bool (*eventlog_json_callback_t)(struct json_container *, void *); bool eventlog_accept(const struct eventlog *evlog, int flags, eventlog_json_callback_t info_cb, void *info); -bool eventlog_exit(const struct eventlog *evlog, int flags, struct timespec *run_time, int exit_value, const char *signal_name, bool core_dumped, eventlog_json_callback_t info_cb, void *info); +bool eventlog_exit(const struct eventlog *evlog, int flags, struct timespec *run_time, int exit_value, const char *signal_name, bool core_dumped); bool eventlog_alert(const struct eventlog *evlog, int flags, struct timespec *alert_time, const char *reason, const char *errstr); bool eventlog_reject(const struct eventlog *evlog, int flags, const char *reason, eventlog_json_callback_t info_cb, void *info); bool eventlog_store_json(struct json_container *json, const struct eventlog *evlog); |