summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorGravatar Rosen Penev2020-06-03 15:36:22 -0700
committerGravatar Nikias Bassen2020-12-30 02:33:45 +0100
commit591b4faa4563bafb7fe78c27e3c5718df7bf6eb6 (patch)
tree1938fae3484be5fb5f0e2c2dee728d3a906f8c1b /common
parentb21f1112bd969920b995f731367c7e3040b214d5 (diff)
downloadlibusbmuxd-591b4faa4563bafb7fe78c27e3c5718df7bf6eb6.tar.gz
libusbmuxd-591b4faa4563bafb7fe78c27e3c5718df7bf6eb6.tar.bz2
Fix inconsistent declarations
[clang-tidy] Found with readability-inconsistent-declaration-parameter-name Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/socket.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/socket.h b/common/socket.h
index f510147..9567270 100644
--- a/common/socket.h
+++ b/common/socket.h
@@ -54,12 +54,12 @@ int socket_accept(int fd, uint16_t port);
int socket_shutdown(int fd, int how);
int socket_close(int fd);
-int socket_receive(int fd, void *data, size_t size);
-int socket_peek(int fd, void *data, size_t size);
-int socket_receive_timeout(int fd, void *data, size_t size, int flags,
+int socket_receive(int fd, void *data, size_t length);
+int socket_peek(int fd, void *data, size_t length);
+int socket_receive_timeout(int fd, void *data, size_t length, int flags,
unsigned int timeout);
-int socket_send(int fd, void *data, size_t size);
+int socket_send(int fd, void *data, size_t length);
void socket_set_verbose(int level);