From 921268159d96efeb136fcfd29e8ba3212fd0a507 Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 31 Jan 2017 23:48:53 +0100 Subject: Add make_abs() utility function --- src/filepath.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/filepath.h') 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 -- cgit v1.2.3-70-g09d2