summaryrefslogtreecommitdiffstats
path: root/include/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/path.h')
-rw-r--r--include/path.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/path.h b/include/path.h
index 615d28491..45da692f8 100644
--- a/include/path.h
+++ b/include/path.h
@@ -4,6 +4,8 @@
#include <stdio.h>
#include <stdint.h>
+extern char *path_strdup(const char *path, ...)
+ __attribute__ ((__format__ (__printf__, 1, 2)));
extern FILE *path_fopen(const char *mode, int exit_on_err, const char *path, ...)
__attribute__ ((__format__ (__printf__, 3, 4)));
extern void path_read_str(char *result, size_t len, const char *path, ...)