Przeglądaj źródła

[cstr_fixed.h] Moving include to top of file

Vinicius Teshima 2 lat temu
rodzic
commit
4d0efa5bca
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      include/toolbox/cstr_fixed.h

+ 2 - 2
include/toolbox/cstr_fixed.h

@@ -1,12 +1,12 @@
 #ifndef TOOLBOX_CSTR_FIXED_H
 #define TOOLBOX_CSTR_FIXED_H
 
+#include <stddef.h>
+
 #ifndef TOOLBOX_CSTR_FIXED_MAX_SIZE
 #define TOOLBOX_CSTR_FIXED_MAX_SIZE ((size_t) 255L)
 #endif
 
-#include <stddef.h>
-
 struct cstr_fixed {
 	size_t size;
 	char data[TOOLBOX_CSTR_FIXED_MAX_SIZE];