From 4d51150ca0aae979718ac10030df85421b763cd1 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Sun, 28 Jul 2024 16:35:51 +0200 Subject: Make Dillo C99 standard compliant Reviewed-by: dogma --- dlib/dlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dlib/dlib.c') diff --git a/dlib/dlib.c b/dlib/dlib.c index cd8e8a72..f4c8db2d 100644 --- a/dlib/dlib.c +++ b/dlib/dlib.c @@ -883,7 +883,7 @@ void dLib_show_messages(bool_t show) /** * Return the current working directory in a new string */ -char *dGetcwd () +char *dGetcwd (void) { size_t size = 128; @@ -901,7 +901,7 @@ char *dGetcwd () /** * Return the home directory in a static string (don't free) */ -char *dGethomedir () +char *dGethomedir (void) { static char *homedir = NULL; -- cgit v1.2.3