diff options
author | cvs2svn <> | 2002-09-20 00:21:59 +0000 |
---|---|---|
committer | cvs2svn <> | 2002-09-20 00:21:59 +0000 |
commit | 481f35c8b3d9136e2430845fad71fb21fa3bc1d4 (patch) | |
tree | ba6ac4747e0611896a0b855e5487076550f73fef /include/libiberty.h | |
parent | e29580df9f56e884ebb55f5681f2703fe75228a3 (diff) | |
download | cygnal-481f35c8b3d9136e2430845fad71fb21fa3bc1d4.tar.gz cygnal-481f35c8b3d9136e2430845fad71fb21fa3bc1d4.tar.bz2 cygnal-481f35c8b3d9136e2430845fad71fb21fa3bc1d4.zip |
This commit was manufactured by cvs2svn to create branchcarlton_dictionary-20020920-branchpoint
'carlton_dictionary-branch'.
Sprout from gdb_5_3-branch 2002-08-29 06:49:36 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'gdb_5_3-branch'.'
Cherrypick from master 2002-09-20 00:21:58 UTC Alexandre Oliva <aoliva@redhat.com> '* libiberty.h (asprintf, vasprintf): Don't declare them if the':
COPYING.NEWLIB
ChangeLog
config.guess
config.sub
include/ChangeLog
include/dis-asm.h
include/elf/ChangeLog
include/elf/dwarf2.h
include/elf/i386.h
include/libiberty.h
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h index 046330183..983fd96e5 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -264,16 +264,20 @@ extern int pexecute PARAMS ((const char *, char * const *, const char *, extern int pwait PARAMS ((int, int *, int)); +#if !HAVE_DECL_ASPRINTF /* Like sprintf but provides a pointer to malloc'd storage, which must be freed by the caller. */ extern int asprintf PARAMS ((char **, const char *, ...)) ATTRIBUTE_PRINTF_2; +#endif +#if !HAVE_DECL_VASPRINTF /* Like vsprintf but provides a pointer to malloc'd storage, which must be freed by the caller. */ extern int vasprintf PARAMS ((char **, const char *, va_list)) ATTRIBUTE_PRINTF(2,0); +#endif #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) |