aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/n3.c b/src/n3.c
index 22c24fd7..edc0f52b 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -65,7 +65,7 @@ read_HEX(SerdReader* reader)
}
// Read UCHAR escape, initial \ is already eaten by caller
-static inline SerdStatus
+static SerdStatus
read_UCHAR(SerdReader* reader, SerdNode* dest, uint32_t* char_code)
{
const int b = peek_byte(reader);
@@ -143,7 +143,7 @@ read_UCHAR(SerdReader* reader, SerdNode* dest, uint32_t* char_code)
}
// Read ECHAR escape, initial \ is already eaten by caller
-static inline SerdStatus
+static SerdStatus
read_ECHAR(SerdReader* reader, SerdNode* dest)
{
const int c = peek_byte(reader);
@@ -279,7 +279,7 @@ read_comment(SerdReader* reader)
}
// [24] ws ::= #x9 | #xA | #xD | #x20 | comment
-static inline bool
+static bool
read_ws(SerdReader* reader)
{
const int c = peek_byte(reader);
@@ -308,14 +308,14 @@ read_ws_star(SerdReader* reader)
}
static inline bool
-peek_delim(SerdReader* reader, const char delim)
+peek_delim(SerdReader* reader, const uint8_t delim)
{
read_ws_star(reader);
return peek_byte(reader) == delim;
}
static inline bool
-eat_delim(SerdReader* reader, const char delim)
+eat_delim(SerdReader* reader, const uint8_t delim)
{
if (peek_delim(reader, delim)) {
eat_byte_safe(reader, delim);