#define _GNU_SOURCE #include #include void vwarnx(const char* f, va_list a) { vfdprintf(2,f,a); }