aboutsummaryrefslogtreecommitdiff
path: root/src/fileutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileutils.h')
-rw-r--r--src/fileutils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileutils.h b/src/fileutils.h
index 2b9906c..9f8f4fe 100644
--- a/src/fileutils.h
+++ b/src/fileutils.h
@@ -15,6 +15,7 @@ int create_lock_file(const char *path);
int file_overwrite(const char *filepath, const char *data, size_t size);
int file_overwrite_in_dir(const char *dir, const char *filename, const char *data, size_t size);
-void path_join(char *output, const char **components, int num_components);
+/* Returns the length of the new path (the length of @output) */
+int path_join(char *output, const char **components, int num_components);
#endif