diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-07-01 14:42:35 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-07-18 19:09:30 +0200 |
commit | 14857442c638d39dc0ece60087991916884cd113 (patch) | |
tree | 63b066263eed73f75a26ea8d29f581cead9e88cc /src/nxt_nncq.h | |
parent | 6ba39ccf9b862f56155aa4b391063bf548ce6574 (diff) | |
download | unit-14857442c638d39dc0ece60087991916884cd113.tar.gz unit-14857442c638d39dc0ece60087991916884cd113.tar.bz2 |
Added missing inline keyword.
Diffstat (limited to 'src/nxt_nncq.h')
-rw-r--r-- | src/nxt_nncq.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_nncq.h b/src/nxt_nncq.h index 20e7ecff..6c9ab326 100644 --- a/src/nxt_nncq.h +++ b/src/nxt_nncq.h @@ -85,7 +85,7 @@ nxt_nncq_empty(nxt_nncq_t const volatile *q) } -static void +static inline void nxt_nncq_init(nxt_nncq_t volatile *q) { q->head = NXT_NNCQ_SIZE; @@ -94,7 +94,7 @@ nxt_nncq_init(nxt_nncq_t volatile *q) } -static void +static inline void nxt_nncq_enqueue(nxt_nncq_t volatile *q, nxt_nncq_atomic_t val) { nxt_nncq_cycle_t e_cycle, t_cycle; @@ -128,7 +128,7 @@ nxt_nncq_enqueue(nxt_nncq_t volatile *q, nxt_nncq_atomic_t val) } -static nxt_nncq_atomic_t +static inline nxt_nncq_atomic_t nxt_nncq_dequeue(nxt_nncq_t volatile *q) { nxt_nncq_cycle_t e_cycle, h_cycle; |