aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@mvista.com>2002-11-22 20:01:07 +0000
committerDaniel Jacobowitz <drow@mvista.com>2002-11-22 20:01:07 +0000
commit528e026e39d3ccca712ff7f742ca1a6f5ce5e2ac (patch)
treecd0710e42a786802096e328c11e150db4dc4067a /include
parent0da2e5edc9c58b9cf1802bbb78c5c5fd4337f85e (diff)
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: https://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;