Skip to content

Commit 28b8d2e

Browse files
committed
change order of includes
1 parent 5832382 commit 28b8d2e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ simple C library for working with UTF-8 encoded strings
1818
## 🧑‍💻 Usage example
1919

2020
```c
21-
#include <stdio.h>
2221
#include "utf8.h"
22+
#include <stdio.h>
2323

2424
int main() {
2525
const char* str = "Hello, こんにちは, Здравствуйте";

test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "utf8.h"
22

3-
#include <stdio.h>
43
#include <assert.h>
4+
#include <stdio.h>
55
#include <string.h>
66

77
// english characters are 1 byte each

utf8.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* @brief simple library for working with UTF-8 encoded strings
44
*
55
* @code
6-
* #include <stdio.h>
76
* #include "utf8.h"
7+
* #include <stdio.h>
88
*
99
* int main() {
1010
* const char* str = "Hello, こんにちは, Здравствуйте";
@@ -30,8 +30,8 @@
3030
#define ZAHASH_UTF8_H
3131

3232
#include <stdbool.h>
33-
#include <stdint.h>
3433
#include <stddef.h>
34+
#include <stdint.h>
3535

3636
/**
3737
* @brief Represents the validity of a UTF-8 encoded string.

0 commit comments

Comments
 (0)