summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-03-01 14:33:00 +0000
committerDJ Delorie <dj@delorie.com>2005-03-01 14:33:00 +0000
commita985eb46c9c039d72104c4fafc801856a13052f0 (patch)
tree9f60f86aa91250d5c9db1139f27773ee09cb0540 /include
parentbc0920b222a6fa969069357447c827a2bde62195 (diff)
downloadgdb-a985eb46c9c039d72104c4fafc801856a13052f0.tar.gz
merge from gcc
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/libiberty.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 90e1d6f1f22..d45c62a3ca4 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 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));