diff options
author | DJ Delorie <dj@redhat.com> | 2015-01-14 22:03:05 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2015-01-14 22:03:05 +0000 |
commit | ebf294095b6d8890593cd7115967ad7785c54896 (patch) | |
tree | f6e37673704050bf67076e278f9442655a2b063c /include | |
parent | 89b6034299281fb00a156312952454fd8c369264 (diff) | |
download | newlib-ebf294095b6d8890593cd7115967ad7785c54896.zip newlib-ebf294095b6d8890593cd7115967ad7785c54896.tar.gz newlib-ebf294095b6d8890593cd7115967ad7785c54896.tar.bz2 |
merge from gcc
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 10 | ||||
-rw-r--r-- | include/libiberty.h | 8 |
2 files changed, 16 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index cfdff4d..1e54161 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,13 @@ +2015-12-14 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * libiberty.h: Merge Copyright year update from Binutils. + +2014-12-24 Uros Bizjak <ubizjak@gmail.com> + Ben Elliston <bje@au.ibm.com> + Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + * libiberty.h (xasprintf): Declare. + 2014-12-11 Uros Bizjak <ubizjak@gmail.com> Ben Elliston <bje@au.ibm.com> Manuel Lopez-Ibanez <manu@gcc.gnu.org> diff --git a/include/libiberty.h b/include/libiberty.h index b9694f0..b33dd65 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -1,7 +1,6 @@ /* Function declarations for libiberty. - Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008, 2009, 2010, 2011, 2013 Free Software Foundation, Inc. + Copyright (C) 1997-2015 Free Software Foundation, Inc. Note - certain prototypes declared in this header file are for functions whoes implementation copyright does not belong to the @@ -629,6 +628,11 @@ extern int pwait (int, int *, int); extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; #endif +/* Like asprintf but allocates memory without fail. This works like + xmalloc. */ + +extern char *xasprintf (const char *, ...) ATTRIBUTE_MALLOC ATTRIBUTE_PRINTF_1; + #if !HAVE_DECL_VASPRINTF /* Like vsprintf but provides a pointer to malloc'd storage, which must be freed by the caller. */ |