diff options
-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 90e1d6f1f..d45c62a3c 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-21 Alan Modra <amodra@bigpond.net.au> * xtensa-isa-internal.h (xtensa_length_decode_fn): Warning fix. diff --git a/include/libiberty.h b/include/libiberty.h index c9f480aaf..4df814092 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)); |