merge from gcc
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu> | ||||||
|  |  | ||||||
|  | 	* libiberty.h (xstrndup): Declare. | ||||||
|  |  | ||||||
| 2005-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu> | 2005-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu> | ||||||
|  |  | ||||||
| 	* libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC. | 	* libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC. | ||||||
|   | |||||||
| @@ -255,6 +255,10 @@ extern PTR xcalloc PARAMS ((size_t, size_t)) ATTRIBUTE_MALLOC; | |||||||
|  |  | ||||||
| extern char *xstrdup PARAMS ((const char *)) ATTRIBUTE_MALLOC; | extern char *xstrdup PARAMS ((const char *)) ATTRIBUTE_MALLOC; | ||||||
|  |  | ||||||
|  | /* Copy at most N characters from string into a buffer without fail.  */ | ||||||
|  |  | ||||||
|  | extern char *xstrndup PARAMS ((const char *, size_t)) ATTRIBUTE_MALLOC; | ||||||
|  |  | ||||||
| /* Copy an existing memory buffer to a new memory buffer without fail.  */ | /* Copy an existing memory buffer to a new memory buffer without fail.  */ | ||||||
|  |  | ||||||
| extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC; | extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user