From: ghazi Date: Tue, 22 Mar 2005 23:47:49 +0000 (+0000) Subject: * libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82c5c135edb483c565bb036050503a9b3ebde91b;p=thirdparty%2Fgcc.git * 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 --- diff --git a/include/ChangeLog b/include/ChangeLog index 758b923a300b..44725bc5fbda 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2005-03-22 Kaveh R. Ghazi + + * libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC. + 2005-03-09 Mark Mitchell * libiberty.h (gettimeofday): Declare. diff --git a/include/libiberty.h b/include/libiberty.h index 0814695a04a8..d2a8a0b9ef7f 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. */