2 * Copyright (c) 2014 - 2017 Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>.
4 * Copyright (C) 1989 - 1992, 2000 - 2002, 2004
5 * Free Software Foundation, Inc.
6 * Written by James Clark (jjc@jclark.com)
8 * This is free software; you can redistribute it and/or modify it under
9 * the terms of the GNU General Public License as published by the Free
10 * Software Foundation; either version 2, or (at your option) any later
13 * This is distributed in the hope that it will be useful, but WITHOUT ANY
14 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 * You should have received a copy of the GNU General Public License along
19 * with groff; see the file COPYING. If not, write to the Free Software
20 * Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
26 #include "troff-config.h"
42 #include "searchpath.h"
46 extern units
scale(units n
, units x
, units y
); // scale n by x/y
48 extern units units_per_inch
;
50 extern int ascii_output_flag
;
51 extern int suppress_output_flag
;
52 extern int color_flag
;
55 extern int tcommand_flag
;
56 extern int vresolution
;
57 extern int hresolution
;
60 extern search_path
*mac_path
;
75 WARN_RIGHT_BRACE
= 010000,
76 WARN_MISSING
= 020000,
78 WARN_ESCAPE
= 0100000,
82 WARN_COLOR
= 02000000,
84 __WARN_MAX
= WARN_FILE
87 WARN_TOTAL
= (__WARN_MAX
<< 1) - 1
90 int warning(warning_type
, const char *,
91 const errarg
& = empty_errarg
,
92 const errarg
& = empty_errarg
,
93 const errarg
& = empty_errarg
);
94 int output_warning(warning_type
, const char *,
95 const errarg
& = empty_errarg
,
96 const errarg
& = empty_errarg
,
97 const errarg
& = empty_errarg
);