mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-11 14:21:49 +08:00
Fix function signature
Use void for parameters (this project is in C).
This commit is contained in:
parent
37d88b8a6a
commit
ad667bfa20
@ -28,7 +28,7 @@ struct size {
|
||||
Uint16 height;
|
||||
};
|
||||
|
||||
static long timestamp_ms() {
|
||||
static long timestamp_ms(void) {
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, NULL);
|
||||
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user