aboutsummaryrefslogtreecommitdiffstats
path: root/src/string.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-29 14:10:27 -0400
committerDavid Robillard <d@drobilla.net>2021-05-31 11:37:53 -0400
commit47ecf6ce2b538a4c8bacb71dd923bc733a075892 (patch)
treee310fa2d1799ec54fa108fe8b90974ba3943b01c /src/string.c
parent35e1cea484c860fba9fc702a4e4ea9d284b26f08 (diff)
downloadserd-47ecf6ce2b538a4c8bacb71dd923bc733a075892.tar.gz
serd-47ecf6ce2b538a4c8bacb71dd923bc733a075892.tar.bz2
serd-47ecf6ce2b538a4c8bacb71dd923bc733a075892.zip
Remove "static inline" for functions in implementation files
This is just noise since these are static functions local to a C compilation unit.
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.c b/src/string.c
index 55654033..baf01042 100644
--- a/src/string.c
+++ b/src/string.c
@@ -54,7 +54,7 @@ serd_strerror(SerdStatus status)
return (const uint8_t*)"Unknown error"; // never reached
}
-static inline void
+static void
serd_update_flags(const uint8_t c, SerdNodeFlags* const flags)
{
switch (c) {
@@ -115,7 +115,7 @@ serd_strlen(const uint8_t* str, size_t* n_bytes, SerdNodeFlags* flags)
return n_chars;
}
-static inline double
+static double
read_sign(const char** sptr)
{
double sign = 1.0;