Make local includes consistent; use double quotes for local includes

except for generated ones where we use angle brackets.
Also g/c unused compat.h.
This commit is contained in:
Todd C. Miller
2010-09-07 16:45:19 -04:00
parent 8ec596c7d9
commit 10c3bb62c4
47 changed files with 83 additions and 402 deletions

View File

@@ -23,7 +23,7 @@
#include <stdlib.h>
#include <string.h>
#include <missing.h>
#include "missing.h"
#include "error.h"
static void _warning(int, const char *, va_list);

View File

@@ -27,7 +27,7 @@
#include <string.h>
#include <unistd.h>
#include <missing.h>
#include "missing.h"
int
main (int argc, char *argv[])

View File

@@ -24,14 +24,14 @@
#ifndef _SUDO_SUDO_H
#define _SUDO_SUDO_H
#include <pathnames.h>
#include <limits.h>
#include <missing.h>
#include <alloc.h>
#include <error.h>
#include <fileops.h>
#include <list.h>
#include <pathnames.h>
#include "missing.h"
#include "alloc.h"
#include "error.h"
#include "fileops.h"
#include "list.h"
#ifdef __TANDEM
# define ROOT_UID 65535

View File

@@ -24,7 +24,7 @@
#endif
#include <stdarg.h>
#include <missing.h>
#include "missing.h"
/*
* Dummy versions of the execve() family of syscalls. We don't need

View File

@@ -34,7 +34,7 @@
#endif /* HAVE_UNISTD_H */
#include <termios.h>
#include <missing.h>
#include "missing.h"
#if !defined(TIOCGSIZE) && defined(TIOCGWINSZ)
# define TIOCGSIZE TIOCGWINSZ