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:
Kovid Goyal
2019-05-13 10:59:01 +05:30
parent 3e964163c0
commit 4fff84b4b9
26 changed files with 78 additions and 76 deletions

View File

@@ -21,7 +21,7 @@
#endif
static inline double
monotonic() {
monotonic(void) {
struct timespec ts = {0};
#ifdef CLOCK_HIGHRES
clock_gettime(CLOCK_HIGHRES, &ts);