diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-22 23:47:49 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-22 23:47:49 +0000 |
commit | 82c5c135edb483c565bb036050503a9b3ebde91b (patch) | |
tree | b79b6ba6b0525822119199b5da66587b7ed039cc /include | |
parent | 5d4990a01ff98b4040ca26de8b8f0d9ba2cfdf19 (diff) | |
download | gcc-82c5c135edb483c565bb036050503a9b3ebde91b.tar.gz |
* libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96904 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/libiberty.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 758b923a300..44725bc5fbd 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 0814695a04a..d2a8a0b9ef7 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. */ |