Mercurial > hg > sv-dependency-builds
view src/fftw-3.3.5/libbench2/ovtpvt.c @ 83:ae30d91d2ffe
Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author | Chris Cannam |
---|---|
date | Fri, 07 Feb 2020 11:51:13 +0000 |
parents | 2cd0e3b3e1fd |
children |
line wrap: on
line source
#include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include "bench.h" void ovtpvt(const char *format, ...) { va_list ap; va_start(ap, format); if (verbose >= 0) vfprintf(stdout, format, ap); va_end(ap); fflush(stdout); } void ovtpvt_err(const char *format, ...) { va_list ap; va_start(ap, format); if (verbose >= 0) { fflush(stdout); vfprintf(stderr, format, ap); } va_end(ap); fflush(stdout); }