summaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-22 20:01:07 +0000
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-22 20:01:07 +0000
commit5feeeb385ffdbe1125f30929aafc4b44e1f3d97d (patch)
treecd0710e42a786802096e328c11e150db4dc4067a /include/libiberty.h
parent549c28fd1ce04729f5bb1617a52a2ba92e765599 (diff)
downloadgcc-5feeeb385ffdbe1125f30929aafc4b44e1f3d97d.tar.gz
include/
* libiberty.h (make_relative_prefix): Add prototype. libiberty/ * Makefile.in: Add make-relative-prefix.c. * make-relative-prefix.c: New file. * functions.texi: Rebuilt. gcc/ * gcc.c (make_relative_prefix, split_directories) (free_split_directories): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59385 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index 983fd96e5ae..c02e035e3af 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -145,6 +145,12 @@ extern char * getpwd PARAMS ((void));
extern long get_run_time PARAMS ((void));
+/* Generate a relocated path to some installation directory. Allocates
+ return value using malloc. */
+
+extern char *make_relative_prefix PARAMS ((const char *, const char *,
+ const char *));
+
/* Choose a temporary directory to use for scratch files. */
extern char *choose_temp_base PARAMS ((void)) ATTRIBUTE_MALLOC;