tRearrange headers order - synk - synchronize files between hosts
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit ba4d659fcb168165b34f165dd480b8b7b2187f56
DIR parent 05c2017d3f988551b0cfe535424a8ff713b6cd31
HTML Author: z3bra <contactatz3bradotorg>
Date: Tue, 6 Jun 2017 08:29:37 +0200
Rearrange headers order
Diffstat:
M synk.c | 9 +++++----
M synk.h | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
---
DIR diff --git a/synk.c b/synk.c
t@@ -1,3 +1,8 @@
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <sys/wait.h>
+
#include <errno.h>
#include <stdarg.h>
#include <stdint.h>
t@@ -6,10 +11,6 @@
#include <string.h>
#include <netdb.h>
#include <unistd.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <sys/wait.h>
#include "arg.h"
#include "sha512.h"
DIR diff --git a/synk.h b/synk.h
t@@ -1,5 +1,6 @@
#include <arpa/inet.h>
#include <sys/queue.h>
+
#include <limits.h>
#define DEFADDR "127.0.0.1"