socket: change SCK_Send() declaration to const buffer

This commit is contained in:
Miroslav Lichvar
2019-11-19 10:42:23 +01:00
parent dfc2f70876
commit 2bf1ba22f2
2 changed files with 2 additions and 2 deletions

View File

@@ -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;