Skip to content

Commit afa273c

Browse files
Add #include guards to the utf8_p.h internal header
Signed-off-by: Thiago Macieira <[email protected]>
1 parent c4fa09e commit afa273c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/utf8_p.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
**
2323
****************************************************************************/
2424

25+
#ifndef CBOR_UTF8_H
26+
#define CBOR_UTF8_H
27+
2528
#include "compilersupport_p.h"
2629

2730
#include <stdint.h>
@@ -97,3 +100,5 @@ static inline uint32_t get_utf8(const uint8_t **buffer, const uint8_t *end)
97100

98101
return uc;
99102
}
103+
104+
#endif // CBOR_UTF8_H

0 commit comments

Comments
 (0)