mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:45:07 -05:00
socket: change SCK_Send() declaration to const buffer
This commit is contained in:
2
socket.c
2
socket.c
@@ -1336,7 +1336,7 @@ SCK_Receive(int sock_fd, void *buffer, unsigned int length, int flags)
|
||||
/* ================================================== */
|
||||
|
||||
int
|
||||
SCK_Send(int sock_fd, void *buffer, unsigned int length, int flags)
|
||||
SCK_Send(int sock_fd, const void *buffer, unsigned int length, int flags)
|
||||
{
|
||||
int r;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user