From 45b5f172a92eb2ca31b29bdc14761d9a18378bab Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 1 Mar 2005 14:32:34 +0000 Subject: [PATCH] merge from gcc --- include/ChangeLog | 4 ++++ include/libiberty.h | 4 ++++ 2 files changed, 8 insertions(+) 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 + + * libiberty.h: Declare unlink_if_ordinary. + 2005-02-21 Alan Modra * 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));