]> git.sur5r.net Git - i3/i3status/blobdiff - i3status.c
Use (void) instead of () for functions without args (Thanks fernandotcl)
[i3/i3status] / i3status.c
index 3c5e3ce06e2246316c5bd71dc0751669ed8937e6..15c58da668eab3e2cead1d81ee5a4cc97fec60af 100644 (file)
@@ -121,7 +121,7 @@ static char *resolve_tilde(const char *path) {
         return result;
 }
 
-static char *get_config_path() {
+static char *get_config_path(void) {
         char *xdg_config_home, *xdg_config_dirs, *config_path;
 
         /* 1: check the traditional path under the home directory */