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 | 343bf1c71c2b0da78743a2f6ce406fa6ea086306 (patch) | |
tree | 40e07d85002206b0fd8a759a04daef9ef9c0f645 /binutils/bucomm.h | |
parent | 0d9ec7219f711f699109f8d5bb299c2693944123 (diff) | |
download | binutils-redhat-343bf1c71c2b0da78743a2f6ce406fa6ea086306.tar.gz |
* 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 |