]> granicus.if.org Git - sudo/commitdiff
Must include config.h before any other headers.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 4 Feb 2011 23:02:11 +0000 (18:02 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 4 Feb 2011 23:02:11 +0000 (18:02 -0500)
--HG--
branch : 1.7

error.c
getprogname.c
memrchr.c
sigaction.c
strcasecmp.c
strerror.c
strlcat.c
strlcpy.c
strsignal.c
zero_bytes.c

diff --git a/error.c b/error.c
index 50fde439cc8821de70a0c93e60235b48485b2b83..2bf864ba900048aee2b4e9423c3b8c7ce2dfb6c3 100644 (file)
--- a/error.c
+++ b/error.c
@@ -14,6 +14,8 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include <config.h>
+
 #include <sys/types.h>
 
 #include <errno.h>
@@ -21,7 +23,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <config.h>
 #include <missing.h>
 #include "error.h"
 
index 113f8d252bd62eaddf9d4222a6e6af2d83351138..d923d9f75e24046e8ed31ed2f7c6f5e07fe0fe53 100644 (file)
  * Materiel Command, USAF, under agreement number F39502-99-1-0512.
  */
 
+#include <config.h>
+
 #include <sys/types.h>
 
 #include <stdio.h>
 #include <string.h>
 
-#include <config.h>
 #include <missing.h>
 
 const char *
index 2d75db8f3bc030d3c57e0e758d70e4802b8dff1a..0271333e35c25f5890d4f672946b8256dc0f98ee 100644 (file)
--- a/memrchr.c
+++ b/memrchr.c
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <sys/types.h>
 #include <config.h>
+
+#include <sys/types.h>
+
 #include <missing.h>
 
 /*
index 1969495b5fa5205981a46a79fd2b2ab93344cd5e..8a09ca6552bca51aa2f2d5116f47f773e50af14b 100644 (file)
@@ -18,6 +18,8 @@
  * Materiel Command, USAF, under agreement number F39502-99-1-0512.
  */
 
+#include <config.h>
+
 #include <sys/types.h>
 #include <signal.h>
 #include <errno.h>
index 3298b42e99edb20e542f3e80f8f4a3a8509d8698..2df6d60b4c73892a13daa8c75dbc780b847102a5 100644 (file)
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <sys/types.h>
 #include <config.h>
+
+#include <sys/types.h>
+
 #include <missing.h>
 
 /*
index e9da6d3cc921281e54c12ee060c1f5271872f3c7..7d5a8b71d8d1852be729645d8d530fdea92daae7 100644 (file)
  * Materiel Command, USAF, under agreement number F39502-99-1-0512.
  */
 
+#include <config.h>
+
 #include <sys/types.h>
+
 #include <stdio.h>
 #include <errno.h>
 
-#include <config.h>
 #include <missing.h>
 
 /*
index fb9727a86a1304b1af0ddcb9af3011b80c7ddbb7..b987f1b7111759df4d3b652b39b84e8209f88740 100644 (file)
--- a/strlcat.c
+++ b/strlcat.c
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include <config.h>
+
 #include <sys/types.h>
 #include <string.h>
 
-#include <config.h>
 #include <missing.h>
 
 /*
index b2f20f62d9ebc035a54f8a778f264ce5987ecd1e..3ccc2a4673e5930db6cadfa207ab97cd0d913d15 100644 (file)
--- a/strlcpy.c
+++ b/strlcpy.c
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include <config.h>
+
 #include <sys/types.h>
 
-#include <config.h>
 #include <missing.h>
 
 /*
index 303184d2f15ceb2583b3c84966598505d48dd1a3..35f216639d7a431a07fa744243489060ad81d7e3 100644 (file)
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include <config.h>
+
 #include <sys/types.h>
 
 #include <stdio.h>
 #include <signal.h>
 
-#include <config.h>
 #include <missing.h>
 
 #if defined(HAVE_DECL_SYS_SIGLIST) && HAVE_DECL_SYS_SIGLIST == 1
index efe0f9f6c8be0a97f09bab676b75ce9931952bc7..b2de8756ca73483e8a6af0f8fa7953981ccae5db 100644 (file)
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include <config.h>
+
 #include <sys/types.h>
 
-#include <config.h>
 #include <missing.h>
 
 /*