aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/ini_file_create.c4
-rw-r--r--examples/ini_file_read.c4
-rw-r--r--examples/ini_file_search.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/ini_file_create.c b/examples/ini_file_create.c
index 2aeb5a6..1adc665 100644
--- a/examples/ini_file_create.c
+++ b/examples/ini_file_create.c
@@ -3,13 +3,13 @@
*------------------------------------------------------------------------------
*/
+#include "../ini_file.h"
+
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "../ini_file.h"
-
#define MAX_STRING_SIZE 1024
/* This function reads a string of size MAX_STRING_SIZE from stdin.
diff --git a/examples/ini_file_read.c b/examples/ini_file_read.c
index 2775986..1eeca5e 100644
--- a/examples/ini_file_read.c
+++ b/examples/ini_file_read.c
@@ -3,12 +3,12 @@
*------------------------------------------------------------------------------
*/
+#include "../ini_file.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
-#include "../ini_file.h"
-
int error_callback(const char *const filename, const size_t line_number, const size_t column, const char *const line, const enum Ini_File_Errors error) {
fprintf(stderr, "%s:%lu:%lu %s:\n%s\n", filename, line_number, column, ini_file_error_to_string(error), line);
return 0;
diff --git a/examples/ini_file_search.c b/examples/ini_file_search.c
index b36a9dc..674631f 100644
--- a/examples/ini_file_search.c
+++ b/examples/ini_file_search.c
@@ -3,11 +3,11 @@
*------------------------------------------------------------------------------
*/
+#include "../ini_file.h"
+
#include <stdio.h>
#include <stdlib.h>
-#include "../ini_file.h"
-
/*------------------------------------------------------------------------------
* MAIN
*------------------------------------------------------------------------------