X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxprintf.h;h=5340aa3b2baa1568e05b7880c6bb940c07a4ce19;hb=4565266f776db0d78b2c207a5fe79f929f9806ca;hp=4c0870cfe87fe71ab9c77c29e34b13e16a18619f;hpb=78da34d40e6a244945b626932a23c90a4bec34f0;p=gnulib.git diff --git a/lib/xprintf.h b/lib/xprintf.h index 4c0870cfe..5340aa3b2 100644 --- a/lib/xprintf.h +++ b/lib/xprintf.h @@ -17,6 +17,7 @@ #ifndef _XPRINTF_H #define _XPRINTF_H +#include #include #ifndef __attribute__ @@ -34,7 +35,12 @@ extern int xprintf (char const *restrict format, ...) __attribute__ ((__format__ (__printf__, 1, 2))); +extern int xvprintf (char const *restrict format, va_list args) + __attribute__ ((__format__ (__printf__, 1, 0))); extern int xfprintf (FILE *restrict stream, char const *restrict format, ...) __attribute__ ((__format__ (__printf__, 2, 3))); +extern int xvfprintf (FILE *restrict stream, char const *restrict format, + va_list args) + __attribute__ ((__format__ (__printf__, 2, 0))); #endif