Use consistent variable names

Use the same variable name in functions declaration and definition.

Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Yu-Chen Lin 2019-05-31 22:08:30 +08:00 committed by Romain Vimont
parent 6537c2ef01
commit fcf225049d
3 changed files with 3 additions and 3 deletions

View file

@ -74,6 +74,6 @@ adb_install(const char *serial, const char *local);
// convenience function to wait for a successful process execution // convenience function to wait for a successful process execution
// automatically log process errors with the provided process name // automatically log process errors with the provided process name
bool bool
process_check_success(process_t process, const char *name); process_check_success(process_t proc, const char *name);
#endif #endif

View file

@ -11,6 +11,6 @@
// name must be at least DEVICE_NAME_FIELD_LENGTH bytes // name must be at least DEVICE_NAME_FIELD_LENGTH bytes
bool 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 #endif

View file

@ -20,7 +20,7 @@ struct recorder {
}; };
bool 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); enum recorder_format format, struct size declared_frame_size);
void void