-// Send error messages to /dev/tty instead of stderr.
-GBool errorsToTTY = gFalse;
-
-FILE *errFile;
-GBool errQuiet;
-
-void errorInit() {
- if (errQuiet) {
- errFile = NULL;
- } else {
- if (!errorsToTTY || !(errFile = fopen("/dev/tty", "w")))
- errFile = stderr;
- }
-}
-