From fcf225049dc783677244f08700ed4c53e8dc5382 Mon Sep 17 00:00:00 2001 From: Yu-Chen Lin Date: Fri, 31 May 2019 22:08:30 +0800 Subject: [PATCH] Use consistent variable names Use the same variable name in functions declaration and definition. Signed-off-by: Yu-Chen Lin Signed-off-by: Romain Vimont --- app/src/command.h | 2 +- app/src/device.h | 2 +- app/src/recorder.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/command.h b/app/src/command.h index 90eb7cb2..3453ca10 100644 --- a/app/src/command.h +++ b/app/src/command.h @@ -74,6 +74,6 @@ adb_install(const char *serial, const char *local); // convenience function to wait for a successful process execution // automatically log process errors with the provided process name bool -process_check_success(process_t process, const char *name); +process_check_success(process_t proc, const char *name); #endif diff --git a/app/src/device.h b/app/src/device.h index 09934046..f3449e5e 100644 --- a/app/src/device.h +++ b/app/src/device.h @@ -11,6 +11,6 @@ // name must be at least DEVICE_NAME_FIELD_LENGTH bytes bool -device_read_info(socket_t device_socket, char *name, struct size *frame_size); +device_read_info(socket_t device_socket, char *device_name, struct size *size); #endif diff --git a/app/src/recorder.h b/app/src/recorder.h index 26c4a3c3..8a8e3310 100644 --- a/app/src/recorder.h +++ b/app/src/recorder.h @@ -20,7 +20,7 @@ struct recorder { }; bool -recorder_init(struct recorder *recoder, const char *filename, +recorder_init(struct recorder *recorder, const char *filename, enum recorder_format format, struct size declared_frame_size); void