Add intercept_cleanup() stub for when building w/o intercept support.

This commit is contained in:
Todd C. Miller
2021-09-20 09:01:05 -06:00
parent a8c4d9800b
commit 5421c61828

View File

@@ -968,4 +968,14 @@ intercept_setup(int fd, struct sudo_event_base *evbase,
debug_return_bool(false);
}
void
intercept_cleanup(void)
{
debug_decl(intercept_cleanup, SUDO_DEBUG_EXEC);
/* Intercept support not compiled in. */
debug_return;
}
#endif /* _PATH_SUDO_INTERCEPT */