[PATCH 18/18] Added extern version of C99 inline function.

Alejandro Colomar alx.manpages at gmail.com
Thu Jun 2 18:05:12 UTC 2022


Being C99 inline, even with nxt_always_inline, we need to provide
an extern version of the function, to be used when the function
pointer is used.
---
 src/nxt_buf.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/nxt_buf.c b/src/nxt_buf.c
index cbde069..d2b240e 100644
--- a/src/nxt_buf.c
+++ b/src/nxt_buf.c
@@ -327,3 +327,6 @@ nxt_buf_make_plain(nxt_mp_t *mp, nxt_buf_t *src, size_t size)
 
     return b;
 }
+
+
+extern void nxt_buf_dummy_completion(nxt_task_t *task, void *obj, void *data);
-- 
2.36.1



More information about the unit mailing list