aboutsummaryrefslogtreecommitdiff
path: root/src/core/msgqueue.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-05 08:39:55 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-05 08:39:55 -0800
commitf08a488c30ff102c29f589c138bae29d91dccb2a (patch)
tree4e8ffacabb0b90537ac97c806e27f53cb4c3547f /src/core/msgqueue.h
parentf77e5a5ec7f8b1373eeda0ea56f47137daf40330 (diff)
downloadnng-f08a488c30ff102c29f589c138bae29d91dccb2a.tar.gz
nng-f08a488c30ff102c29f589c138bae29d91dccb2a.tar.bz2
nng-f08a488c30ff102c29f589c138bae29d91dccb2a.zip
Liberally apply some UWYI (use what you include) to header files
Diffstat (limited to 'src/core/msgqueue.h')
-rw-r--r--src/core/msgqueue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/msgqueue.h b/src/core/msgqueue.h
index d264ee3f..f0bf0b71 100644
--- a/src/core/msgqueue.h
+++ b/src/core/msgqueue.h
@@ -11,7 +11,7 @@
#ifndef CORE_MSGQUEUE_H
#define CORE_MSGQUEUE_H
-#include "nng_impl.h"
+#include "defs.h"
#include "pollable.h"
// Message queues. Message queues work in some ways like Go channels;
@@ -33,7 +33,6 @@ extern int nni_msgq_init(nni_msgq **, unsigned);
// messages that may be in the queue.
extern void nni_msgq_fini(nni_msgq *);
-
extern void nni_msgq_aio_put(nni_msgq *, nni_aio *);
extern void nni_msgq_aio_get(nni_msgq *, nni_aio *);