commit - 52418c8d828bc25e0e84cc25d5e349a84be0b397
commit + 76898714462223ec4dd8f3049cf07f2bea00cb1d
blob - dd07cf9294b912c3921cf5015d1743680f48bdeb
blob + 0a605a5fd65eda92bf7aa896c60cf797c7adc3a0
--- compat/err.c
+++ compat/err.c
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "../config.h"
+
#include <errno.h>
#include <stdio.h>
#include <stdarg.h>
-#include "../config.h"
-
static void vwarn_impl(const char*, va_list);
static void vwarnx_impl(const char*, va_list);
blob - f502b4bc4bc6697e20e25947377cdfb79565f549
blob + 4d4bdee6208cd21e872081a9c65834067d6e5c45
--- compat/explicit_bzero.c
+++ compat/explicit_bzero.c
* Written by Matthew Dempsky.
*/
-#include <string.h>
-
#include "../config.h"
+#include <string.h>
+
void
explicit_bzero(void *buf, size_t len)
{
blob - 70ad5822b55e7d2e24d2c9e4a26edf595c85172e
blob + aa3b992ab04e2c2245da1e3e25f6c1d026b5f592
--- compat/recallocarray.c
+++ compat/recallocarray.c
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "../config.h"
+
#include <errno.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
-#include "../config.h"
-
/*
* This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX
* if both s1 < MUL_NO_OVERFLOW and s2 < MUL_NO_OVERFLOW
blob - e387409402768c37e45f3fc7d26cc790252708db
blob + d42b06eee21af16705f39971e7d66f3b56f11cc8
--- compat/setproctitle.c
+++ compat/setproctitle.c
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "../config.h"
+
#include <sys/types.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
-#include "../config.h"
-
#if HAVE_PR_SET_NAME
#include <sys/prctl.h>
blob - b4e969e826539cfc4b3b6735233ec108702d0448
blob + 6843ca871d15d9deb022481459de5905f1e37aa2
--- compat/strlcat.c
+++ compat/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"
-
/*
* Appends src to string dst of size dsize (unlike strncat, dsize is the
* full size of dst, not space left). At most dsize-1 characters
blob - 75636a0709bbd56677e394293267537de2b2ad4b
blob + 77ce3958e5b6d8a4802dd4303f59f2f09a62b05c
--- compat/strlcpy.c
+++ compat/strlcpy.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"
-
/*
* Copy string src to buffer dst of size dsize. At most dsize-1
* chars will be copied. Always NUL terminates (unless dsize == 0).
blob - 09c4fbe23ef43c478fc75463fe60b2b23968ace1
blob + 836a3e9544de364cf94a29761572021c30becfe7
--- compat/strtonum.c
+++ compat/strtonum.c
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "../config.h"
+
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
-#include "../config.h"
-
#define INVALID 1
#define TOOSMALL 2
#define TOOLARGE 3
blob - 69586f03601ae01e8eca89204a45704964b26e7f
blob + 43d4ecfe7375a6e08c70c387a8eb17420678855e
--- compat/vasprintf.c
+++ compat/vasprintf.c
* of another portable solution.
*/
+#include "../config.h"
+
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
-#include "../config.h"
-
int
vasprintf(char **ret, const char *format, va_list ap)
{