aboutsummaryrefslogtreecommitdiff
path: root/src/testing/streams.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/streams.c')
-rw-r--r--src/testing/streams.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/testing/streams.c b/src/testing/streams.c
index 33c70c00..92d52f37 100644
--- a/src/testing/streams.c
+++ b/src/testing/streams.c
@@ -1,5 +1,5 @@
//
-// Copyright 2020 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
@@ -11,14 +11,13 @@
#define TEST_NO_MAIN
#include <nng/nng.h>
-#include <nng/supplemental/util/platform.h>
typedef struct {
- uint8_t * base;
+ uint8_t *base;
size_t rem;
nng_iov iov;
- nng_aio * upper_aio;
- nng_aio * lower_aio;
+ nng_aio *upper_aio;
+ nng_aio *lower_aio;
nng_stream *s;
void (*submit)(nng_stream *, nng_aio *);
} stream_xfr_t;