aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/platform.h b/src/core/platform.h
index bdb8beb4..3b6f4db5 100644
--- a/src/core/platform.h
+++ b/src/core/platform.h
@@ -357,7 +357,7 @@ typedef struct nni_plat_udp nni_plat_udp;
// address specified in the AIO. The remote address is
// not used. The resulting nni_plat_udp structure is returned in the
// aio's a_pipe.
-extern int nni_plat_udp_open(nni_plat_udp **, nni_sockaddr *);
+extern int nni_plat_udp_open(nni_plat_udp **, const nni_sockaddr *);
// nni_plat_udp_close closes the underlying UDP socket.
extern void nni_plat_udp_close(nni_plat_udp *);