aboutsummaryrefslogtreecommitdiff
path: root/dlib
diff options
context:
space:
mode:
Diffstat (limited to 'dlib')
-rw-r--r--dlib/dlib.c4
-rw-r--r--dlib/dlib.h4
2 files changed, 4 insertions, 4 deletions
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;
diff --git a/dlib/dlib.h b/dlib/dlib.h
index 87335e00..81301a55 100644
--- a/dlib/dlib.h
+++ b/dlib/dlib.h
@@ -173,8 +173,8 @@ void dLib_show_messages(bool_t show);
/*
*- Misc utility functions ----------------------------------------------------
*/
-char *dGetcwd();
-char *dGethomedir();
+char *dGetcwd(void);
+char *dGethomedir(void);
char *dGetline(FILE *stream);
int dClose(int fd);