Skip to content

Display and control your Android device

Use consistent variable names

Yu-Chen Linfcf225049dc7
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