aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-15 14:37:34 +0200
committerDavid Robillard <d@drobilla.net>2020-08-15 22:52:05 +0200
commitbdf35e8a26e3da860753f493040fbdba508b4a62 (patch)
tree013181cf5bff2a5d9f4d37fe5414fc07b34fd1c4
parentfa37911d98cb04665f8a35feb62bb4ee4af46917 (diff)
downloadserd-bdf35e8a26e3da860753f493040fbdba508b4a62.tar.gz
serd-bdf35e8a26e3da860753f493040fbdba508b4a62.tar.bz2
serd-bdf35e8a26e3da860753f493040fbdba508b4a62.zip
Move prototype to a more sensible location
-rw-r--r--src/reader.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/reader.h b/src/reader.h
index 3ed4ecc8..4b31b94d 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -33,10 +33,6 @@
# define SERD_LOG_FUNC(fmt, arg1)
#endif
-SERD_LOG_FUNC(3, 4)
-int
-r_err(SerdReader* reader, SerdStatus st, const char* fmt, ...);
-
#ifdef SERD_STACK_CHECK
# define SERD_STACK_ASSERT_TOP(reader, ref) \
assert(ref == reader->allocs[reader->n_allocs - 1]);
@@ -88,6 +84,10 @@ struct SerdReaderImpl {
#endif
};
+SERD_LOG_FUNC(3, 4)
+int
+r_err(SerdReader* reader, SerdStatus st, const char* fmt, ...);
+
Ref push_node_padded(SerdReader* reader,
size_t maxlen,
SerdType type,