commit 909b1db83e103adb59177bc78b635cf00b3cb91e
parent 66063c6c6e5bbbafcf493c5bc7c825f0a6e1b03d
Author: Frederic Cambus <fred@statdns.com>
Date: Fri, 12 Oct 2018 08:15:33 +0200
Reorder headers for all endpoints
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/ip.c b/src/ip.c
@@ -15,8 +15,8 @@
#include <string.h>
#include <sys/socket.h>
-#include <kore/kore.h>
#include <kore/http.h>
+#include <kore/kore.h>
int ip(struct http_request *);
diff --git a/src/jsonip.c b/src/jsonip.c
@@ -12,12 +12,12 @@
/* */
/*****************************************************************************/
-#include <stdio.h>
#include <stdbool.h>
+#include <stdio.h>
#include <sys/socket.h>
-#include <kore/kore.h>
#include <kore/http.h>
+#include <kore/kore.h>
int jsonip(struct http_request *);
diff --git a/src/location.c b/src/location.c
@@ -14,11 +14,11 @@
#include <stdio.h>
#include <string.h>
-#include <time.h>
#include <sys/socket.h>
+#include <time.h>
-#include <kore/kore.h>
#include <kore/http.h>
+#include <kore/kore.h>
#include <maxminddb.h>