aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ChangeLog4
-rw-r--r--include/libiberty.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 5bc63bb..4c8d105 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC.
+
2005-03-22 Bob Wilson <bob.wilson@acm.org>
* xtensa-isa.h: Update a comment and whitespace.
diff --git a/include/libiberty.h b/include/libiberty.h
index 0814695..d2a8a0b 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -162,7 +162,7 @@ extern long get_run_time PARAMS ((void));
return value using malloc. */
extern char *make_relative_prefix PARAMS ((const char *, const char *,
- const char *));
+ const char *)) ATTRIBUTE_MALLOC;
/* Choose a temporary directory to use for scratch files. */