summaryrefslogtreecommitdiff
path: root/src/roff/troff/troff.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/roff/troff/troff.h')
-rw-r--r--src/roff/troff/troff.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/roff/troff/troff.h b/src/roff/troff/troff.h
index 17d45da2..48e72a6e 100644
--- a/src/roff/troff/troff.h
+++ b/src/roff/troff/troff.h
@@ -29,6 +29,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <errno.h>
#include "assert.h"
+#include "color.h"
#include "device.h"
#include "searchpath.h"
@@ -42,6 +43,7 @@ extern units units_per_inch;
extern int ascii_output_flag;
extern int suppress_output_flag;
+extern int disable_color_flag;
extern int is_html;
extern int tcommand_flag;
@@ -75,11 +77,12 @@ enum warning_type {
WARN_ESCAPE = 0100000,
WARN_SPACE = 0200000,
WARN_FONT = 0400000,
- WARN_IG = 01000000
+ WARN_IG = 01000000,
+ WARN_COLOR = 02000000
// change WARN_TOTAL if you add more warning types
};
-const int WARN_TOTAL = 01777777;
+const int WARN_TOTAL = 02777777;
int warning(warning_type, const char *,
const errarg & = empty_errarg,