debug_decl and debug_decl_vars now require a semicolon at the end.

This commit is contained in:
Todd C. Miller
2019-12-22 08:48:16 -07:00
parent 5dcc28180e
commit 486ee2b71f
140 changed files with 1038 additions and 1038 deletions

View File

@@ -59,7 +59,7 @@ preload_dso(char *envp[], const char *dso_file)
# else
const bool enabled = true;
# endif
debug_decl(preload_dso, SUDO_DEBUG_UTIL)
debug_decl(preload_dso, SUDO_DEBUG_UTIL);
/*
* Preload a DSO file. For a list of LD_PRELOAD-alikes, see
@@ -161,7 +161,7 @@ preload_dso(char *envp[], const char *dso_file)
char **
disable_execute(char *envp[], const char *dso)
{
debug_decl(disable_execute, SUDO_DEBUG_UTIL)
debug_decl(disable_execute, SUDO_DEBUG_UTIL);
#ifdef HAVE_PRIV_SET
/* Solaris privileges, remove PRIV_PROC_EXEC post-execve. */
@@ -188,7 +188,7 @@ disable_execute(char *envp[], const char *dso)
int
sudo_execve(int fd, const char *path, char *const argv[], char *envp[], bool noexec)
{
debug_decl(sudo_execve, SUDO_DEBUG_UTIL)
debug_decl(sudo_execve, SUDO_DEBUG_UTIL);
sudo_debug_execve(SUDO_DEBUG_INFO, path, argv, envp);