summaryrefslogtreecommitdiff
path: root/src/bin/exactness/common.c
blob: 17983cdbc6d8af7c94dfe55a926e135ef7a36d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "common.h"

static int _verbose = 0;

void
ex_printf(int verbose, const char *fmt, ...)
{
   va_list ap;
   if (!_verbose || verbose > _verbose) return;

   va_start(ap, fmt);
   vprintf(fmt, ap);
   va_end(ap);
}