diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2006-02-09 11:49:53 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@libertysurf.fr> | 2006-02-09 11:49:53 +0000 |
commit | db50c8404c624dfe903294d439c54a6db7c6d6c8 (patch) | |
tree | 874d08b3b39f37476ae09cda3d562e765b4fde8d /binutils/bucomm.h | |
parent | 0f699bbe04b7247382b913e0e63375454d864b73 (diff) | |
download | ppe42-binutils-db50c8404c624dfe903294d439c54a6db7c6d6c8.tar.gz ppe42-binutils-db50c8404c624dfe903294d439c54a6db7c6d6c8.zip |
* configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
* configure: Regenerate.
* objdump.c (fprintf): Remove declaration.
* bucomm.h (fprintf): Declare if not already declared.
(snprintf): Likewise.
(vsnprintf): Likewise.
Diffstat (limited to 'binutils/bucomm.h')
-rw-r--r-- | binutils/bucomm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/binutils/bucomm.h b/binutils/bucomm.h index 2c662c8e0a..9f914adeb5 100644 --- a/binutils/bucomm.h +++ b/binutils/bucomm.h @@ -90,6 +90,18 @@ extern char *getenv (); extern char **environ; #endif +#if !HAVE_DECL_FPRINTF +extern int fprintf (FILE *, const char *, ...); +#endif + +#if !HAVE_DECL_SNPRINTF +extern int snprintf(char *, size_t, const char *, ...); +#endif + +#if !HAVE_DECL_VSNPRINTF +extern int vsnprintf(char *, size_t, const char *, va_list); +#endif + #ifndef O_RDONLY #define O_RDONLY 0 #endif |