Declare fun(void) functions with no parameters

This is not C++.
This commit is contained in:
Romain Vimont
2018-10-04 17:03:24 +02:00
parent cea176c210
commit ff4430b2a3
4 changed files with 20 additions and 21 deletions

View File

@@ -9,7 +9,7 @@
static const char *adb_command;
static inline const char *get_adb_command() {
static inline const char *get_adb_command(void) {
if (!adb_command) {
adb_command = getenv("ADB");
if (!adb_command)