Browse code

Arranged include order

neauoire authored on 27/03/2022 16:18:02
Showing 2 changed files
... ...
@@ -1,3 +1,9 @@
1
+#include <stdio.h>
2
+#include <dirent.h>
3
+#include <string.h>
4
+#include <sys/stat.h>
5
+#include <unistd.h>
6
+
1 7
 #include "../uxn.h"
2 8
 #include "file.h"
3 9
 
... ...
@@ -13,12 +19,6 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13 19
 WITH REGARD TO THIS SOFTWARE.
14 20
 */
15 21
 
16
-#include <stdio.h>
17
-#include <dirent.h>
18
-#include <string.h>
19
-#include <sys/stat.h>
20
-#include <unistd.h>
21
-
22 22
 typedef struct {
23 23
 	FILE *f;
24 24
 	DIR *dir;
... ...
@@ -1,8 +1,8 @@
1
+#include <stdio.h>
2
+
1 3
 #include "../uxn.h"
2 4
 #include "system.h"
3 5
 
4
-#include <stdio.h>
5
-
6 6
 /*
7 7
 Copyright (c) 2022 Devine Lu Linvega, Andrew Alderwick
8 8