aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-01-18 03:58:20 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-01-18 03:58:42 +0100
commit77b449ebd77d06d51853b615c94a4717cd55c470 (patch)
tree751bd982ac5f8cc2bc8934ef27ab7402bc8ac456 /src
parentbae78fb734b9770619d2d7dbc10dcc55fab18085 (diff)
downloadsds-77b449ebd77d06d51853b615c94a4717cd55c470.tar.xz
sds.{c,h}: Sort includes
Diffstat (limited to 'src')
-rw-r--r--src/sds.c4
-rw-r--r--src/sds.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/sds.c b/src/sds.c
index 35132a9..e396fb1 100644
--- a/src/sds.c
+++ b/src/sds.c
@@ -25,11 +25,11 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <assert.h>
+#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <ctype.h>
-#include <assert.h>
#include "sds.h"
diff --git a/src/sds.h b/src/sds.h
index 9a2187e..489e623 100644
--- a/src/sds.h
+++ b/src/sds.h
@@ -30,8 +30,8 @@
#define SDS_MAX_PREALLOC (1024*1024)
-#include <sys/types.h>
#include <stdarg.h>
+#include <sys/types.h>
typedef char *sds;