]> granicus.if.org Git - sudo/commitdiff
Use angle brackets when including headers that can only be found when
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 30 Apr 2010 19:13:47 +0000 (15:13 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 30 Apr 2010 19:13:47 +0000 (15:13 -0400)
an -I flag is specified.  The files in the compat dir could get away
with double quotes here but I've converted all the source files
to use angle brackets for consistency.

20 files changed:
compat/getline.c
compat/mksiglist.c
compat/nanosleep.c
compat/strdup.c
compat/strndup.c
plugins/sample/sample_plugin.c
plugins/sudoers/boottime.c
plugins/sudoers/getdate.c
plugins/sudoers/match.c
plugins/sudoers/sudoreplay.c
plugins/sudoers/timestr.c
plugins/sudoers/vasgroups.c
src/alloc.c
src/atobool.c
src/audit.c
src/lbuf.c
src/list.c
src/sesh.c
src/term.c
src/ttysize.c

index f96be46e8aa3770054faddd2b2eebc7deb3e371b..5e6edbcf678e817a482e2bf2ebe1adfbea722d2b 100644 (file)
@@ -36,7 +36,7 @@
 #endif /* HAVE_STRING_H */
 #include <limits.h>
 
-#include "compat.h"
+#include <compat.h>
 
 #ifndef LINE_MAX
 # define LINE_MAX 2048
index 31e8c87beb54b215240c5b68371071ff35449113..84d2ead4bca73366fef90ac01b1b4766eb501fd4 100644 (file)
@@ -28,7 +28,7 @@
 #endif /* STDC_HEADERS */
 #include <signal.h>
 
-#include "compat.h"
+#include <compat.h>
 
 #if !defined(NSIG)
 # if defined(_NSIG)
index c44d89577963f51845dabbbea1e65f099d50d552..9c33d11d6bde56b312c12f57064d16caa4fbbbb6 100644 (file)
@@ -29,7 +29,7 @@
 #endif
 #include <errno.h>
 
-#include "compat.h"
+#include <compat.h>
 
 int
 nanosleep(const struct timespec *ts, struct timespec *rts)
index 11d410e79584b5292e61d70adc243d62d71876d7..17e11f932bbe1228ea005f0b97962b4b9efcd603 100644 (file)
@@ -36,7 +36,7 @@
 # include <malloc.h>
 #endif /* HAVE_MALLOC_H && !STDC_HEADERS */
 
-#include "compat.h"
+#include <compat.h>
 
 char *
 strdup(const char *src)
index 4109d7341d0cf29a9b0004a1fc183622ade2df12..d6a905d5b847d60a2524eabeb4a94de80088d462 100644 (file)
@@ -36,7 +36,7 @@
 # include <malloc.h>
 #endif /* HAVE_MALLOC_H && !STDC_HEADERS */
 
-#include "compat.h"
+#include <compat.h>
 
 char *
 strndup(const char *src, size_t maxlen)
index f60214b142625c316de3afcc047e1c59698420ed..772f9f83e45fa2b46445bb442e94edc5cf245404 100644 (file)
@@ -49,8 +49,8 @@
 #include <stdarg.h>
 
 #include <sudo_plugin.h>
-#include "compat.h"
-#include "missing.h"
+#include <compat.h>
+#include <missing.h>
 
 /*
  * Sample plugin module that allows any user who knows the password
index f91c9850feeb2b6182df72e009438c6fc29a2f78..7f2f7d6148bdf71145fa0337ffd5e00dd60393de 100644 (file)
@@ -41,8 +41,8 @@
 # include <sys/sysctl.h>
 #endif
 
-#include "compat.h"
-#include "missing.h"
+#include <compat.h>
+#include <missing.h>
 
 /*
  * Fill in a struct timeval with the time the system booted.
index 878fe5f400b53e458161316a0a6cf4eae8e08a7c..96174451768ad9eca6c5d31918af474d2f04845d 100644 (file)
@@ -51,7 +51,7 @@
 #endif
 #include <ctype.h>
 
-#include "compat.h"
+#include <compat.h>
 
 
 #define EPOCH          1970
index c523dfd905f30b5c30d05b73e371b546b548ecfb..33fdbcb1ab3a1d289cc776080b67ea22da73652d 100644 (file)
 #include <gram.h>
 
 #ifndef HAVE_FNMATCH
-# include "compat/fnmatch.h"
+# include <compat/fnmatch.h>
 #endif /* HAVE_FNMATCH */
 #ifndef HAVE_EXTENDED_GLOB
-# include "compat/glob.h"
+# include <compat/glob.h>
 #endif /* HAVE_EXTENDED_GLOB */
 #ifdef USING_NONUNIX_GROUPS
 # include "nonunix.h"
index e959ec6afa6340ac900d04a47a4ceb579c5cfb97..ad484f936e34158206ff467623212a5df005b362 100644 (file)
 
 #include <pathnames.h>
 
-#include "compat.h"
-#include "alloc.h"
-#include "error.h"
-#include "missing.h"
+#include <compat.h>
+#include <alloc.h>
+#include <error.h>
+#include <missing.h>
 
 /* For getopt(3) */
 extern char *optarg;
index 7649f113e9a40989d0092d3d39deb0e2f9aa213f..28317bfeb5218a475f263ec060f5dbce44b76d18 100644 (file)
@@ -28,7 +28,7 @@
 #endif /* STDC_HEADERS */
 #include <time.h>
 
-#include "compat.h"
+#include <compat.h>
 
 char *get_timestr(time_t, int);
 
index 33eb40cdd3f8e9d489b256a87c955887eb2d39d5..f1b1c6490fd67b988125cef1692ff1cd7547ddc9 100644 (file)
@@ -40,7 +40,6 @@
 
 #include <vas.h>
 
-#include "compat.h"
 #include "logging.h"
 #include "nonunix.h"
 #include "parse.h"
index 0811ef71ec1f365024e0a8bb9b64aa93b935cc6c..9790218691d53dbe1757135016b4dc8638d58504 100644 (file)
@@ -46,9 +46,9 @@
 # include <inttypes.h>
 #endif
 
-#include "compat.h"
-#include "alloc.h"
-#include "error.h"
+#include <compat.h>
+#include <alloc.h>
+#include <error.h>
 
 /*
  * If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t
index 9f02ebe0d68b2e8888275e1371d5d82211b47724..e442b49f4260f8c4ee90ef6699932fc8f7c09cde 100644 (file)
@@ -39,8 +39,8 @@
 # endif
 #endif /* HAVE_STRING_H */
 
-#include "compat.h"
-#include "missing.h"
+#include <compat.h>
+#include <missing.h>
 
 int
 atobool(const char *str)
index 0fc4a727a79c9639f21ba2721dbe12b4e1b29f5a..9356e25b5a267bfc2d1f646fc1f578066d298301 100644 (file)
@@ -28,7 +28,7 @@
 #endif /* STDC_HEADERS */
 #include <stdarg.h>
 
-#include "compat.h"
+#include <compat.h>
 #include "logging.h"
 
 #ifdef HAVE_BSM_AUDIT
index 9ea511afea5f16ac43ab37e52fe159121d03d66b..0b2d26fb48568913e67be98a98916f1247f8f3da 100644 (file)
 # include <termio.h>
 #endif
 
-#include "compat.h"
-#include "alloc.h"
-#include "error.h"
-#include "missing.h"
-#include "lbuf.h"
+#include <compat.h>
+#include <alloc.h>
+#include <error.h>
+#include <missing.h>
+#include <lbuf.h>
 
 void
 lbuf_init(struct lbuf *lbuf, int (*output)(const char *),
index 3d35ed48f1ccc9892e96b06666315bf86fbb254e..f077291ac7d122f82c52483cd969c85f8ca86928 100644 (file)
 # endif
 #endif /* STDC_HEADERS */
 
-#include "compat.h"
-#include "list.h"
+#include <compat.h>
+#include <list.h>
 #ifdef DEBUG
-# include "error.h"
+# include <error.h>
 #endif
 
 struct list_proto {
index 38a8349088064885bbf4c08ba5b259840b8f94a6..a288cdb731cf47762228f78b39e0fb54035ce10f 100644 (file)
@@ -27,7 +27,7 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "compat.h"
+#include <compat.h>
 
 int
 main (int argc, char *argv[])
index 6e7f614f746cc9a3188d3202db7e9aacd4fe431d..71f924b69e8503922b17e3ca8485bd07da3b88de 100644 (file)
@@ -43,7 +43,7 @@
 # include <termio.h>
 #endif /* HAVE_TERMIOS_H */
 
-#include "compat.h"
+#include <compat.h>
 
 #ifndef TCSASOFT
 # define TCSASOFT      0
index 3054e653e61755cb40b7db4990b4177f8c364bef..5517faa878f0003cb79a8b7a06a6bbdaf7212632 100644 (file)
@@ -38,7 +38,7 @@
 # include <termio.h>
 #endif
 
-#include "compat.h"
+#include <compat.h>
 
 #if !defined(TIOCGSIZE) && defined(TIOCGWINSZ)
 # define TIOCGSIZE     TIOCGWINSZ