From 8249242a9325a27e57107d78bfa168e918cc4f7a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 3 Nov 2024 08:29:55 -0800 Subject: Remove untyped nng_pipe_get, support for untyped sockaddr set. This is a step on the path to removing unsafe untyped option accesses. --- src/core/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/options.h') diff --git a/src/core/options.h b/src/core/options.h index aff429df..67481d9f 100644 --- a/src/core/options.h +++ b/src/core/options.h @@ -34,7 +34,7 @@ extern int nni_copyin_size( extern int nni_copyin_str(char *, const void *, size_t, size_t, nni_type); extern int nni_copyin_ptr(void **, const void *, size_t, nni_type); extern int nni_copyin_u64(uint64_t *, const void *, size_t, nni_type); -extern int nni_copyin_sockaddr(nng_sockaddr *, const void *, size_t, nni_type); +extern int nni_copyin_sockaddr(nng_sockaddr *, const void *, nni_type); // nni_copyout_xxx copies out a type of the named value. It assumes that // the type is aligned and the size correct, unless NNI_TYPE_OPAQUE is passed. -- cgit v1.2.3-70-g09d2