aboutsummaryrefslogtreecommitdiff
path: root/src/core/taskq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/taskq.h')
-rw-r--r--src/core/taskq.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/taskq.h b/src/core/taskq.h
index ccc54f61..498b4f37 100644
--- a/src/core/taskq.h
+++ b/src/core/taskq.h
@@ -1,5 +1,5 @@
//
-// Copyright 2022 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -14,6 +14,7 @@
#include "core/defs.h"
#include "core/list.h"
#include "core/platform.h"
+#include "nng/nng.h"
typedef struct nni_taskq nni_taskq;
typedef struct nni_task nni_task;
@@ -60,7 +61,7 @@ extern void nni_task_init(nni_task *, nni_taskq *, nni_cb, void *);
// it reschedules the task.)
extern void nni_task_fini(nni_task *);
-extern int nni_taskq_sys_init(void);
+extern int nni_taskq_sys_init(nng_init_params *);
extern void nni_taskq_sys_fini(void);
// nni_task implementation details are not to be used except by the