diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | apropos.c | 4 | ||||
-rw-r--r-- | arch.c | 4 | ||||
-rw-r--r-- | att.c | 4 | ||||
-rw-r--r-- | cgi.c | 4 | ||||
-rw-r--r-- | chars.c | 4 | ||||
-rw-r--r-- | compat_fgetln.c | 5 | ||||
-rw-r--r-- | compat_getsubopt.c | 2 | ||||
-rw-r--r-- | compat_ohash.c | 4 | ||||
-rw-r--r-- | compat_reallocarray.c | 2 | ||||
-rw-r--r-- | compat_sqlite3_errstr.c | 2 | ||||
-rw-r--r-- | compat_strcasestr.c | 2 | ||||
-rw-r--r-- | compat_strlcat.c | 2 | ||||
-rw-r--r-- | compat_strlcpy.c | 2 | ||||
-rw-r--r-- | compat_strsep.c | 2 | ||||
-rw-r--r-- | config.h.pre | 3 | ||||
-rw-r--r-- | demandoc.c | 4 | ||||
-rw-r--r-- | eqn.c | 4 | ||||
-rw-r--r-- | eqn_html.c | 4 | ||||
-rw-r--r-- | eqn_term.c | 4 | ||||
-rw-r--r-- | html.c | 2 | ||||
-rw-r--r-- | lib.c | 4 | ||||
-rw-r--r-- | main.c | 4 | ||||
-rw-r--r-- | man.c | 2 | ||||
-rw-r--r-- | man_hash.c | 2 | ||||
-rw-r--r-- | man_html.c | 2 | ||||
-rw-r--r-- | man_macro.c | 4 | ||||
-rw-r--r-- | man_term.c | 2 | ||||
-rw-r--r-- | man_validate.c | 2 | ||||
-rw-r--r-- | mandoc.c | 2 | ||||
-rw-r--r-- | mandoc_aux.c | 2 | ||||
-rw-r--r-- | mandocdb.c | 3 | ||||
-rw-r--r-- | manpage.c | 4 | ||||
-rw-r--r-- | manpath.c | 4 | ||||
-rw-r--r-- | mansearch.c | 4 | ||||
-rw-r--r-- | mansearch_const.c | 3 | ||||
-rw-r--r-- | mdoc.c | 2 | ||||
-rw-r--r-- | mdoc_argv.c | 2 | ||||
-rw-r--r-- | mdoc_hash.c | 2 | ||||
-rw-r--r-- | mdoc_html.c | 2 | ||||
-rw-r--r-- | mdoc_macro.c | 4 | ||||
-rw-r--r-- | mdoc_man.c | 4 | ||||
-rw-r--r-- | mdoc_term.c | 2 | ||||
-rw-r--r-- | mdoc_validate.c | 5 | ||||
-rw-r--r-- | msec.c | 4 | ||||
-rw-r--r-- | out.c | 2 | ||||
-rw-r--r-- | preconv.c | 3 | ||||
-rw-r--r-- | read.c | 7 | ||||
-rw-r--r-- | roff.c | 4 | ||||
-rw-r--r-- | st.c | 4 | ||||
-rw-r--r-- | tbl.c | 4 | ||||
-rw-r--r-- | tbl_data.c | 4 | ||||
-rw-r--r-- | tbl_html.c | 4 | ||||
-rw-r--r-- | tbl_layout.c | 4 | ||||
-rw-r--r-- | tbl_opts.c | 4 | ||||
-rw-r--r-- | tbl_term.c | 4 | ||||
-rw-r--r-- | term.c | 2 | ||||
-rw-r--r-- | term_ascii.c | 6 | ||||
-rw-r--r-- | term_ps.c | 2 | ||||
-rw-r--r-- | tree.c | 4 | ||||
-rw-r--r-- | vol.c | 4 |
61 files changed, 72 insertions, 129 deletions
@@ -34,8 +34,8 @@ VERSION = 1.13.1 # CFLAGS += -DUSE_WCHAR -CFLAGS += -g -DHAVE_CONFIG_H -CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings +CFLAGS += -g -W -Wall -Wstrict-prototypes +CFLAGS += -Wno-unused-parameter -Wwrite-strings PREFIX = /usr/local BINDIR = $(PREFIX)/bin INCLUDEDIR = $(PREFIX)/include/mandoc @@ -15,10 +15,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + #include <sys/param.h> +#include <sys/types.h> #include <assert.h> #include <getopt.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <string.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <string.h> @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <ctype.h> #include <errno.h> @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <ctype.h> diff --git a/compat_fgetln.c b/compat_fgetln.c index 49c9985b..667d1f76 100644 --- a/compat_fgetln.c +++ b/compat_fgetln.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_FGETLN @@ -41,6 +39,9 @@ int dummy; * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ + +#include <sys/types.h> + #include <errno.h> #include <stdio.h> #include <stdlib.h> diff --git a/compat_getsubopt.c b/compat_getsubopt.c index 9cd41536..3b22e262 100644 --- a/compat_getsubopt.c +++ b/compat_getsubopt.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_GETSUBOPT diff --git a/compat_ohash.c b/compat_ohash.c index 0992b365..45c9b6da 100644 --- a/compat_ohash.c +++ b/compat_ohash.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_OHASH @@ -25,6 +23,8 @@ int dummy; * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> + #include <stddef.h> #include <stdint.h> #include <stdlib.h> diff --git a/compat_reallocarray.c b/compat_reallocarray.c index e25d8374..5fabd0b2 100644 --- a/compat_reallocarray.c +++ b/compat_reallocarray.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_REALLOCARRAY diff --git a/compat_sqlite3_errstr.c b/compat_sqlite3_errstr.c index b8d6eb58..b4696019 100644 --- a/compat_sqlite3_errstr.c +++ b/compat_sqlite3_errstr.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_SQLITE3_ERRSTR diff --git a/compat_strcasestr.c b/compat_strcasestr.c index 5216d021..156cd5d8 100644 --- a/compat_strcasestr.c +++ b/compat_strcasestr.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_STRCASESTR diff --git a/compat_strlcat.c b/compat_strlcat.c index 543d40b3..26bddc00 100644 --- a/compat_strlcat.c +++ b/compat_strlcat.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_STRLCAT diff --git a/compat_strlcpy.c b/compat_strlcpy.c index a7c64ff9..ccdf9319 100644 --- a/compat_strlcpy.c +++ b/compat_strlcpy.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_STRLCPY diff --git a/compat_strsep.c b/compat_strsep.c index a5c58c62..1c7dfef9 100644 --- a/compat_strsep.c +++ b/compat_strsep.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_STRSEP diff --git a/config.h.pre b/config.h.pre index 1c3940de..05f0485c 100644 --- a/config.h.pre +++ b/config.h.pre @@ -4,6 +4,3 @@ #if defined(__linux__) || defined(__MINT__) # define _GNU_SOURCE /* getsubopt(), strcasestr(), strptime() */ #endif - -#include <sys/types.h> -#include <stdio.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <ctype.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <limits.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <stdio.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <stdio.h> @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <string.h> @@ -16,9 +16,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <stdio.h> @@ -16,9 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> @@ -14,9 +14,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> diff --git a/man_macro.c b/man_macro.c index 638e614e..8f12b894 100644 --- a/man_macro.c +++ b/man_macro.c @@ -16,9 +16,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <ctype.h> @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> diff --git a/man_validate.c b/man_validate.c index 76aebe1c..78c10af0 100644 --- a/man_validate.c +++ b/man_validate.c @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> diff --git a/mandoc_aux.c b/mandoc_aux.c index 1db34594..76d05643 100644 --- a/mandoc_aux.c +++ b/mandoc_aux.c @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> @@ -15,11 +15,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/stat.h> +#include <sys/types.h> #include <sys/wait.h> #include <assert.h> @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <getopt.h> @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <ctype.h> diff --git a/mansearch.c b/mansearch.c index 1fe1f594..58250631 100644 --- a/mansearch.c +++ b/mansearch.c @@ -15,11 +15,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/mman.h> +#include <sys/types.h> + #include <assert.h> #include <fcntl.h> #include <getopt.h> diff --git a/mansearch_const.c b/mansearch_const.c index dfe5c049..ac9ebf31 100644 --- a/mansearch_const.c +++ b/mansearch_const.c @@ -14,11 +14,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> + #include <stdint.h> #include "manpath.h" @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> diff --git a/mdoc_argv.c b/mdoc_argv.c index 99c0caaf..37af880f 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> diff --git a/mdoc_hash.c b/mdoc_hash.c index 0a5517b7..55ac3509 100644 --- a/mdoc_hash.c +++ b/mdoc_hash.c @@ -14,9 +14,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> diff --git a/mdoc_html.c b/mdoc_html.c index 328cb9bc..5c26f7ea 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> diff --git a/mdoc_macro.c b/mdoc_macro.c index 04f494c3..8fa66825 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <ctype.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <stdio.h> diff --git a/mdoc_term.c b/mdoc_term.c index 9cb6e8e0..aa37c581 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -16,9 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> diff --git a/mdoc_validate.c b/mdoc_validate.c index a7fd30bf..ae6acec1 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -16,16 +16,13 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif +#include <sys/types.h> #ifndef OSNAME #include <sys/utsname.h> #endif -#include <sys/types.h> - #include <assert.h> #include <ctype.h> #include <limits.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <string.h> @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> @@ -14,10 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif +#include <sys/types.h> #ifdef HAVE_MMAP #include <sys/stat.h> #include <sys/mman.h> @@ -16,13 +16,12 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif +#include <sys/types.h> #ifdef HAVE_MMAP -# include <sys/stat.h> -# include <sys/mman.h> +#include <sys/stat.h> +#include <sys/mman.h> #endif #include <assert.h> @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <ctype.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <string.h> @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <stdio.h> @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <ctype.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <stdio.h> diff --git a/tbl_layout.c b/tbl_layout.c index c2ff3bf1..b0e0ae98 100644 --- a/tbl_layout.c +++ b/tbl_layout.c @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <ctype.h> #include <stdlib.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <ctype.h> #include <stdio.h> @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <stdio.h> @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> diff --git a/term_ascii.c b/term_ascii.c index c749c982..3eb03801 100644 --- a/term_ascii.c +++ b/term_ascii.c @@ -15,21 +15,19 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> #ifdef USE_WCHAR -# include <locale.h> +#include <locale.h> #endif #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #ifdef USE_WCHAR -# include <wchar.h> +#include <wchar.h> #endif #include "mandoc.h" @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> @@ -15,9 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <assert.h> #include <limits.h> @@ -14,9 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + +#include <sys/types.h> #include <string.h> |