2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

We no longer need to include headers we don't use for sudo*.h files.

Previously we needed to include headers required by the various
sudo*h files.  Now those files are more self-sufficient and we
should only include headers needed by code in the various .c files.
This commit is contained in:
Todd C. Miller
2020-05-18 06:47:04 -06:00
parent d85d370c63
commit dd88460800
201 changed files with 171 additions and 771 deletions

View File

@@ -27,8 +27,6 @@
#include <config.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_STRING_H
@@ -37,10 +35,7 @@
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif /* HAVE_STRINGS_H */
#include <unistd.h>
#include <ctype.h>
#include <grp.h>
#include <pwd.h>
#include <assert.h>
#include <sudo_usage.h>