Fix function signature
Use void for parameters (this project is in C).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user