Make sudo pass -Wmissing-prototypes

This commit is contained in:
Todd C. Miller
2022-06-27 12:48:03 -06:00
parent f432209304
commit f5ac1317c4
55 changed files with 202 additions and 173 deletions

View File

@@ -67,13 +67,6 @@ struct PythonContext py_ctx = {
};
int
py_is_sudo_log_available(void)
{
debug_decl(py_is_sudo_log_available, PYTHON_DEBUG_INTERNAL);
debug_return_int(py_ctx.sudo_log != &_sudo_printf_default);
}
char *
py_join_str_list(PyObject *py_str_list, const char *separator)
{
@@ -104,7 +97,7 @@ cleanup:
debug_return_str(result);
}
char *
static char *
py_create_traceback_string(PyObject *py_traceback)
{
debug_decl(py_create_traceback_string, PYTHON_DEBUG_INTERNAL);