diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-05-20 22:22:59 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-05-20 22:22:59 +0000 |
commit | ea3a546595c994f7d63049af16eecab1660ef4fa (patch) | |
tree | 878fffc5e32865bc50e1b26525056762d1b60e44 /soelim.c | |
parent | 7578dcc6592a42a9ad7fbebacd5fcdfba0238f9e (diff) | |
download | mandoc-ea3a546595c994f7d63049af16eecab1660ef4fa.tar.gz mandoc-ea3a546595c994f7d63049af16eecab1660ef4fa.tar.zst mandoc-ea3a546595c994f7d63049af16eecab1660ef4fa.zip |
* remove FreeBSDisms
* purge and sort headers
* add build and compat glue
* and LICENSE information
for soelim(1)
Diffstat (limited to 'soelim.c')
-rw-r--r-- | soelim.c | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,4 +1,5 @@ -/*- +/* $Id: soelim.c,v 1.2 2015/05/20 22:22:59 schwarze Exp $ */ +/* * Copyright (c) 2014 Baptiste Daroussin <bapt@FreeBSD.org> * All rights reserved. * @@ -24,20 +25,20 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <sys/param.h> +#include <sys/types.h> -#define _WITH_GETLINE +#include <ctype.h> +#include <err.h> #include <stdio.h> -#include <unistd.h> #include <stdlib.h> -#include <stdbool.h> #include <string.h> +#if HAVE_STRINGLIST #include <stringlist.h> -#include <err.h> -#include <ctype.h> +#else +#include "compat_stringlist.h" +#endif +#include <unistd.h> #define C_OPTION 0x1 |