Add void to all function declarations for functions that take no arguments
Micro-optimization for some architectures. Enforced via -Wstrict-prototypes
This commit is contained in:
2
glfw/backend_utils.c
vendored
2
glfw/backend_utils.c
vendored
@@ -21,7 +21,7 @@
|
||||
#endif
|
||||
|
||||
static inline double
|
||||
monotonic() {
|
||||
monotonic(void) {
|
||||
struct timespec ts = {0};
|
||||
#ifdef CLOCK_HIGHRES
|
||||
clock_gettime(CLOCK_HIGHRES, &ts);
|
||||
|
||||
Reference in New Issue
Block a user