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 758b923..44725bc 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-09 Mark Mitchell <mark@codesourcery.com>
* libiberty.h (gettimeofday): Declare.
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. */