diff options
author | David Robillard <d@drobilla.net> | 2020-12-15 21:33:49 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-15 21:33:49 +0100 |
commit | c3e339a0d27fe580197b03892b8f6c7391803c51 (patch) | |
tree | 2c2a84be143fe16a77dfcf42b5b88ce68011a802 | |
parent | d3723c7ef921cd553b3f70303418517c1b04305a (diff) | |
download | serd-c3e339a0d27fe580197b03892b8f6c7391803c51.tar.gz serd-c3e339a0d27fe580197b03892b8f6c7391803c51.tar.bz2 serd-c3e339a0d27fe580197b03892b8f6c7391803c51.zip |
Clean up includes
-rw-r--r-- | src/byte_sink.h | 1 | ||||
-rw-r--r-- | src/serd_internal.h | 4 | ||||
-rw-r--r-- | src/stack.h | 4 | ||||
-rw-r--r-- | src/string_utils.h | 1 | ||||
-rw-r--r-- | src/uri_utils.h | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/byte_sink.h b/src/byte_sink.h index 876add2b..c3d5045a 100644 --- a/src/byte_sink.h +++ b/src/byte_sink.h @@ -23,6 +23,7 @@ #include "serd/serd.h" #include <stddef.h> +#include <stdint.h> #include <string.h> typedef struct SerdByteSinkImpl { diff --git a/src/serd_internal.h b/src/serd_internal.h index 2090476e..95c3b121 100644 --- a/src/serd_internal.h +++ b/src/serd_internal.h @@ -19,11 +19,7 @@ #include "serd/serd.h" -#include <assert.h> -#include <errno.h> #include <stdio.h> -#include <stdlib.h> -#include <string.h> #define NS_XSD "http://www.w3.org/2001/XMLSchema#" #define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#" diff --git a/src/stack.h b/src/stack.h index 9c1d075a..01f69de6 100644 --- a/src/stack.h +++ b/src/stack.h @@ -17,10 +17,10 @@ #ifndef SERD_STACK_H #define SERD_STACK_H -#include "serd_internal.h" - #include <assert.h> +#include <stdbool.h> #include <stddef.h> +#include <stdint.h> #include <stdlib.h> /** An offset to start the stack at. Note 0 is reserved for NULL. */ diff --git a/src/string_utils.h b/src/string_utils.h index b4c2702e..744ba4ca 100644 --- a/src/string_utils.h +++ b/src/string_utils.h @@ -19,7 +19,6 @@ #include "serd/serd.h" -#include <assert.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> diff --git a/src/uri_utils.h b/src/uri_utils.h index 896d9d8b..7fa87463 100644 --- a/src/uri_utils.h +++ b/src/uri_utils.h @@ -17,8 +17,12 @@ #ifndef SERD_URI_UTILS_H #define SERD_URI_UTILS_H +#include "serd/serd.h" + #include "string_utils.h" +#include <stdbool.h> +#include <stdint.h> #include <string.h> static inline bool |