diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-22 14:33:05 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-22 14:33:05 +0000 |
commit | bedb65e1b9182d146e4d3dce643e0c4c85d91605 (patch) | |
tree | 50686973442539dc22d3e36067a57f7654128370 | |
parent | 8e7ad1b45fbd89960778244082f52d4fc28b9f50 (diff) | |
download | mandoc-bedb65e1b9182d146e4d3dce643e0c4c85d91605.tar.gz |
libmdoc.h and libman.h were including mdoc.h and man.h, respectively.
Don't have them do that (includes in header files = faugh), and have
individual files directly include these files.
-rw-r--r-- | arch.c | 1 | ||||
-rw-r--r-- | att.c | 1 | ||||
-rw-r--r-- | lib.c | 1 | ||||
-rw-r--r-- | libman.h | 2 | ||||
-rw-r--r-- | libmdoc.h | 2 | ||||
-rw-r--r-- | man.c | 1 | ||||
-rw-r--r-- | man_argv.c | 2 | ||||
-rw-r--r-- | man_hash.c | 1 | ||||
-rw-r--r-- | man_macro.c | 1 | ||||
-rw-r--r-- | man_validate.c | 1 | ||||
-rw-r--r-- | mdoc.c | 1 | ||||
-rw-r--r-- | mdoc_argv.c | 1 | ||||
-rw-r--r-- | mdoc_hash.c | 1 | ||||
-rw-r--r-- | mdoc_macro.c | 1 | ||||
-rw-r--r-- | mdoc_validate.c | 1 | ||||
-rw-r--r-- | msec.c | 1 | ||||
-rw-r--r-- | st.c | 1 | ||||
-rw-r--r-- | vol.c | 1 |
18 files changed, 16 insertions, 5 deletions
@@ -22,6 +22,7 @@ #include <string.h> #include <time.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" @@ -22,6 +22,7 @@ #include <string.h> #include <time.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" @@ -22,6 +22,7 @@ #include <string.h> #include <time.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" @@ -17,8 +17,6 @@ #ifndef LIBMAN_H #define LIBMAN_H -#include "man.h" - enum man_next { MAN_NEXT_SIBLING = 0, MAN_NEXT_CHILD @@ -17,8 +17,6 @@ #ifndef LIBMDOC_H #define LIBMDOC_H -#include "mdoc.h" - enum mdoc_next { MDOC_NEXT_SIBLING = 0, MDOC_NEXT_CHILD @@ -26,6 +26,7 @@ #include <stdio.h> #include <string.h> +#include "man.h" #include "mandoc.h" #include "libman.h" #include "libmandoc.h" @@ -22,11 +22,11 @@ #include <assert.h> +#include "man.h" #include "mandoc.h" #include "libman.h" #include "libmandoc.h" - int man_args(struct man *m, int line, int *pos, char *buf, char **v) { @@ -26,6 +26,7 @@ #include <stdlib.h> #include <string.h> +#include "man.h" #include "mandoc.h" #include "libman.h" diff --git a/man_macro.c b/man_macro.c index c5149b81..f10a32ea 100644 --- a/man_macro.c +++ b/man_macro.c @@ -23,6 +23,7 @@ #include <stdlib.h> #include <string.h> +#include "man.h" #include "mandoc.h" #include "libmandoc.h" #include "libman.h" diff --git a/man_validate.c b/man_validate.c index ed8d2475..1325e776 100644 --- a/man_validate.c +++ b/man_validate.c @@ -30,6 +30,7 @@ #include <string.h> #include <time.h> +#include "man.h" #include "mandoc.h" #include "libman.h" #include "libmandoc.h" @@ -28,6 +28,7 @@ #include <string.h> #include <time.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" #include "libmandoc.h" diff --git a/mdoc_argv.c b/mdoc_argv.c index dad47cf7..5a02de31 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -26,6 +26,7 @@ #include <stdio.h> #include <string.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" #include "libmandoc.h" diff --git a/mdoc_hash.c b/mdoc_hash.c index 5ab4aecb..88c10331 100644 --- a/mdoc_hash.c +++ b/mdoc_hash.c @@ -27,6 +27,7 @@ #include <stdio.h> #include <string.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" diff --git a/mdoc_macro.c b/mdoc_macro.c index f012cfc7..a6c1d91d 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -26,6 +26,7 @@ #include <string.h> #include <time.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" #include "libmandoc.h" diff --git a/mdoc_validate.c b/mdoc_validate.c index 0ccc3758..d9819ecb 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -33,6 +33,7 @@ #include <string.h> #include <time.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" #include "libmandoc.h" @@ -21,6 +21,7 @@ #include <stdlib.h> #include <string.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" @@ -22,6 +22,7 @@ #include <string.h> #include <time.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" @@ -22,6 +22,7 @@ #include <string.h> #include <time.h> +#include "mdoc.h" #include "mandoc.h" #include "libmdoc.h" |