diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-03-01 09:23:26 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@gcc.gnu.org> | 2005-03-01 09:23:26 +0000 |
commit | c363985db8d82f3c097689203d7d805716b6d950 (patch) | |
tree | 44af8693fce72cb222dd5012a6fbdea0108a87bf /include | |
parent | d7459fa85fa50f05654298030be3b685b07248d6 (diff) | |
download | gcc-c363985db8d82f3c097689203d7d805716b6d950.tar.gz |
libiberty.h: Declare unlink_if_ordinary.
include/
2005-03-01 Jan Beulich <jbeulich@novell.com>
* libiberty.h: Declare unlink_if_ordinary.
libiberty/
2005-03-01 Jan Beulich <jbeulich@novell.com>
* Makefile.in (CFILES): Add unlink-if-ordinary.c
(REQUIRED_OFILES): Add unlink-if-ordinary.o.
Add dependencies and rule for unlink-if-ordinary.o.
* unlink-if-ordinary.c: New.
From-SVN: r95732
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/libiberty.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index da3aaa2f7c0..5d65bdcef63 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2005-03-01 Jan Beulich <jbeulich@novell.com> + + * libiberty.h: Declare unlink_if_ordinary. + 2005-02-14 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/19818 diff --git a/include/libiberty.h b/include/libiberty.h index c9f480aaf69..4df814092c5 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -163,6 +163,10 @@ extern char *choose_temp_base PARAMS ((void)) ATTRIBUTE_MALLOC; extern char *make_temp_file PARAMS ((const char *)) ATTRIBUTE_MALLOC; +/* Remove a link to a file unless it is special. */ + +extern int unlink_if_ordinary PARAMS((const char *)); + /* Allocate memory filled with spaces. Allocates using malloc. */ extern const char *spaces PARAMS ((int count)); |