summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2018-08-28 22:16:34 +0100
committerVincent Sanders <vince@kyllikki.org>2018-08-28 22:17:02 +0100
commit9142bab7363095e538d1f24bed6ae32a9b1d5820 (patch)
tree58b37523ca906ea376139173de9a69b6ca7cb93f /utils
parent026fb31d2df8faee43eedf2e45dfddf1425b80df (diff)
downloadnetsurf-9142bab7363095e538d1f24bed6ae32a9b1d5820.tar.gz
netsurf-9142bab7363095e538d1f24bed6ae32a9b1d5820.tar.bz2
remove a warning on openbsd
Diffstat (limited to 'utils')
-rw-r--r--utils/filepath.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/filepath.c b/utils/filepath.c
index 156ba2d75..ee5f107c9 100644
--- a/utils/filepath.c
+++ b/utils/filepath.c
@@ -142,7 +142,11 @@ char *filepath_find(char **respathv, const char *filename)
}
/* exported interface documented in filepath.h */
-char *filepath_sfinddef(char **respathv, char *filepath, const char *filename, const char *def)
+char *
+filepath_sfinddef(char **respathv,
+ char *filepath,
+ const char *filename,
+ const char *def)
{
char t[PATH_MAX];
char *ret;