summaryrefslogtreecommitdiffstats
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc.h b/misc.h
index ffc7e24..5343c02 100644
--- a/misc.h
+++ b/misc.h
@@ -217,6 +217,9 @@ const char *gen_path (const char *directory, const char *filename, struct gc_are
/* delete a file, return true if succeeded */
bool delete_file (const char *filename);
+/* return true if pathname is absolute */
+bool absolute_pathname (const char *pathname);
+
/* return the next largest power of 2 */
unsigned int adjust_power_of_2 (unsigned int u);