diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-01-21 22:21:49 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-01-21 22:21:49 +0100 |
commit | 8a87bbc9984034fc736e54ef18f7b0006eee22ec (patch) | |
tree | 7f3e00086e922cf38acd60bde1843f1f75528e05 /gl/stdio.in.h | |
parent | 0541e15f9302eeb2d45aff73db03a4c6d82cb717 (diff) | |
download | gnutls-8a87bbc9984034fc736e54ef18f7b0006eee22ec.tar.gz |
Update gnulib files.
Diffstat (limited to 'gl/stdio.in.h')
-rw-r--r-- | gl/stdio.in.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gl/stdio.in.h b/gl/stdio.in.h index 96cb25737e..cb273d7642 100644 --- a/gl/stdio.in.h +++ b/gl/stdio.in.h @@ -216,6 +216,38 @@ extern int vsprintf (char *str, const char *format, va_list args) vsprintf (b, f, a)) #endif +#if @GNULIB_DPRINTF@ +# if @REPLACE_DPRINTF@ +# define dprintf rpl_dprintf +# endif +# if @REPLACE_DPRINTF@ || !@HAVE_DPRINTF@ +extern int dprintf (int fd, const char *format, ...) + __attribute__ ((__format__ (__printf__, 2, 3))); +# endif +#elif defined GNULIB_POSIXCHECK +# undef dprintf +# define dprintf(d,f,a) \ + (GL_LINK_WARNING ("dprintf is unportable - " \ + "use gnulib module dprintf for portability"), \ + dprintf (d, f, a)) +#endif + +#if @GNULIB_VDPRINTF@ +# if @REPLACE_VDPRINTF@ +# define vdprintf rpl_vdprintf +# endif +# if @REPLACE_VDPRINTF@ || !@HAVE_VDPRINTF@ +extern int vdprintf (int fd, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 2, 0))); +# endif +#elif defined GNULIB_POSIXCHECK +# undef vdprintf +# define vdprintf(d,f,a) \ + (GL_LINK_WARNING ("vdprintf is unportable - " \ + "use gnulib module vdprintf for portability"), \ + vdprintf (d, f, a)) +#endif + #if @GNULIB_VASPRINTF@ # if @REPLACE_VASPRINTF@ # define asprintf rpl_asprintf |