@@ -4,6 +4,8 @@
#include <stdio.h>
#include <unistd.h>
+int verbose = 0;
+
void printdate(FILE *fd)
{
struct timespec tp;
@@ -4,7 +4,7 @@
-static int verbose;
+extern int verbose;
#define PRINTF(...) {do{flockfile(stdout);fprintf(stdout,__VA_ARGS__);funlockfile(stdout);}while(0);}
#define EPRINTF(...) {do{flockfile(stderr);fprintf(stderr,__VA_ARGS__);funlockfile(stderr);}while(0);}
#define VPRINTF(...) {if (verbose){flockfile(stdout);fprintf(stdout,__VA_ARGS__);funlockfile(stdout);}}