summaryrefslogtreecommitdiff
path: root/src/tool_homedir.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-08-21 23:40:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-24 16:37:09 +0200
commit4be1f8dc01013e4dee2b99026cd3b806ea7253c4 (patch)
tree230595d13f11659f57605a33ccba2c1375f7c079 /src/tool_homedir.h
parent98c94596f5928840177b6bd3c7b0f0dd03a431af (diff)
downloadcurl-4be1f8dc01013e4dee2b99026cd3b806ea7253c4.tar.gz
curl: support XDG_CONFIG_HOME to find .curlrc
Added test433 to verify. Updated documentation. Reviewed-by: Jay Satiro Suggested-by: Eli Schwartz Fixes #5829 Closes #5837
Diffstat (limited to 'src/tool_homedir.h')
-rw-r--r--src/tool_homedir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_homedir.h b/src/tool_homedir.h
index 1f9d54a63..66defc200 100644
--- a/src/tool_homedir.h
+++ b/src/tool_homedir.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -23,6 +23,6 @@
***************************************************************************/
#include "tool_setup.h"
-char *homedir(void);
+char *homedir(const char *fname);
#endif /* HEADER_CURL_TOOL_HOMEDIR_H */