ansi decl
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 24 Sep 2014 09:51:41 +0000 (11:51 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 24 Sep 2014 09:51:41 +0000 (11:51 +0200)
src/lib/ptime.c
src/lib/slog.c

index faa0382..923b80d 100644 (file)
@@ -74,7 +74,7 @@ char *tm_to_ISO8601_time(struct tm *tm)
        return NULL;
 }
 
-char *get_current_ISO8601_time()
+char *get_current_ISO8601_time(void)
 {
        time_t t;
 
index b22ba02..5e3b6f8 100644 (file)
@@ -65,7 +65,7 @@ static char *time_to_str(time_t *t)
        return NULL;
 }
 
-static char *get_default_path()
+static char *get_default_path(void)
 {
        char *home, *path, *dir;