summaryrefslogtreecommitdiff
path: root/include
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
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')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/libiberty.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 2eaa1fd2d69..ea9575351f5 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-22 Daniel Jacobowitz <drow@mvista.com>
+
+ * libiberty.h (make_relative_prefix): Add prototype.
+
2002-10-26 Roger Sayle <roger@eyesopen.com>
* partition.h: Close the extern "C" scope when compiling with C++.
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;