diff options
author | jbeulich <jbeulich@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-01 09:23:26 +0000 |
---|---|---|
committer | jbeulich <jbeulich@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-01 09:23:26 +0000 |
commit | 4e0e218184ce96c7a0cf447ab672544c22c32c81 (patch) | |
tree | 44af8693fce72cb222dd5012a6fbdea0108a87bf /include/libiberty.h | |
parent | c820eb51bcf40cf015442b390969f759f75cf488 (diff) | |
download | gcc-4e0e218184ce96c7a0cf447ab672544c22c32c81.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95732 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 4 |
1 files changed, 4 insertions, 0 deletions
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)); |