diff options
| author | 2025-06-29 01:56:21 +0200 | |
|---|---|---|
| committer | 2025-06-29 01:56:21 +0200 | |
| commit | 4d527c7ce24dc0a3b96cfba5fc21ed9cc6cd539b (patch) | |
| tree | cc1b8270dfb3ffe2103eaf03afa265855fa8d842 /include/libimobiledevice-glue | |
| parent | aef2bf0f5bfe961ad83d224166462d87b1df2b00 (diff) | |
| download | libimobiledevice-glue-4d527c7ce24dc0a3b96cfba5fc21ed9cc6cd539b.tar.gz libimobiledevice-glue-4d527c7ce24dc0a3b96cfba5fc21ed9cc6cd539b.tar.bz2 | |
socket: Use const void* instead of void* in signature of socket_send()
Diffstat (limited to 'include/libimobiledevice-glue')
| -rw-r--r-- | include/libimobiledevice-glue/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libimobiledevice-glue/socket.h b/include/libimobiledevice-glue/socket.h index fbb06da..0f68a71 100644 --- a/include/libimobiledevice-glue/socket.h +++ b/include/libimobiledevice-glue/socket.h @@ -63,7 +63,7 @@ LIMD_GLUE_API int socket_close(int fd); LIMD_GLUE_API int socket_receive(int fd, void *data, size_t length); LIMD_GLUE_API int socket_peek(int fd, void *data, size_t length); LIMD_GLUE_API int socket_receive_timeout(int fd, void *data, size_t length, int flags, unsigned int timeout); -LIMD_GLUE_API int socket_send(int fd, void *data, size_t length); +LIMD_GLUE_API int socket_send(int fd, const void *data, size_t length); LIMD_GLUE_API int socket_get_socket_port(int fd, uint16_t *port); |
