aboutsummaryrefslogtreecommitdiffstats
path: root/src/filepath.h
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2017-01-31 23:48:53 +0100
committerTharre <tharre3@gmail.com>2017-01-31 23:53:41 +0100
commit921268159d96efeb136fcfd29e8ba3212fd0a507 (patch)
tree0a557a29ce38a61efffd4d89278f28b397d5398b /src/filepath.h
parenta1b25d96c528370c71c64a0e13570be435dcd0f9 (diff)
downloadredo-921268159d96efeb136fcfd29e8ba3212fd0a507.tar.gz
redo-921268159d96efeb136fcfd29e8ba3212fd0a507.tar.xz
redo-921268159d96efeb136fcfd29e8ba3212fd0a507.zip
Add make_abs() utility function
Diffstat (limited to 'src/filepath.h')
-rw-r--r--src/filepath.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filepath.h b/src/filepath.h
index 2735e45..13382af 100644
--- a/src/filepath.h
+++ b/src/filepath.h
@@ -1,6 +1,6 @@
/* filepath.h
*
- * Copyright (c) 2014 Tharre
+ * Copyright (c) 2014-2017 Tharre
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
@@ -19,5 +19,6 @@ extern char *xbasename(const char *path);
extern bool fexists(const char *target);
extern off_t fsize(const char *fn);
extern void mkpath(char *path, mode_t mode);
+extern char *make_abs(char *root, char *path);
#endif