mirror of
https://gitlab.com/chrony/chrony.git
synced 2026-03-11 00:59:38 -04: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