diff options
author | Daniel Jacobowitz <drow@mvista.com> | 2002-11-22 20:01:07 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@gcc.gnu.org> | 2002-11-22 20:01:07 +0000 |
commit | 42766f8db10808bc630c7e8093b7e1451c849b49 (patch) | |
tree | cd0710e42a786802096e328c11e150db4dc4067a /include | |
parent | 80486e0671dada5e65fbc8baab06e9357281c9cd (diff) | |
download | gcc-42766f8db10808bc630c7e8093b7e1451c849b49.zip gcc-42766f8db10808bc630c7e8093b7e1451c849b49.tar.gz gcc-42766f8db10808bc630c7e8093b7e1451c849b49.tar.bz2 |
libiberty.h (make_relative_prefix): Add prototype.
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.
From-SVN: r59385
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/libiberty.h | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 2eaa1fd..ea95753 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 983fd96..c02e035 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; |