summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/c/gu')
-rw-r--r--src/runtime/c/gu/exn.h2
-rw-r--r--src/runtime/c/gu/utf8.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/c/gu/exn.h b/src/runtime/c/gu/exn.h
index 9ee70438a..c043c4b8a 100644
--- a/src/runtime/c/gu/exn.h
+++ b/src/runtime/c/gu/exn.h
@@ -91,7 +91,7 @@ gu_exn_clear(GuExn* err) {
GuType*
gu_exn_caught(GuExn* err);
-inline const void*
+static inline const void*
gu_exn_caught_data(GuExn* err)
{
return err->data.data;
diff --git a/src/runtime/c/gu/utf8.h b/src/runtime/c/gu/utf8.h
index 3118c4071..db7dccaf9 100644
--- a/src/runtime/c/gu/utf8.h
+++ b/src/runtime/c/gu/utf8.h
@@ -37,7 +37,7 @@ gu_utf8_decode(const uint8_t** utf8);
void
gu_in_utf8_buf(uint8_t** buf, GuIn* in, GuExn* err);
-bool
+static inline bool
gu_is_space(uint8_t c) {
return (c == '\t' || c == '\n' || c == '\v' ||
c == '\f' || c == '\r' || c == ' ');