diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-13 07:30:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-13 07:30:21 +0000 |
commit | e1f21abe4d37332cfcafbde14da0fd93ee6cc0a0 (patch) | |
tree | f8ec8a9168d5314d349bbad33fa3577bcd3da7b1 | |
parent | 8db84e859c98a003baabe21f8f1e7ae0cd3957fb (diff) | |
download | mandoc-e1f21abe4d37332cfcafbde14da0fd93ee6cc0a0.tar.gz |
libmdoc.h no longer needs mdoc.h
-rw-r--r-- | att.c | 1 | ||||
-rw-r--r-- | mandoc_headers.3 | 22 |
2 files changed, 9 insertions, 14 deletions
@@ -21,7 +21,6 @@ #include "mandoc.h" #include "roff.h" -#include "mdoc.h" #include "libmdoc.h" #define LINE(x, y) \ diff --git a/mandoc_headers.3 b/mandoc_headers.3 index 1da42250..b25ecc0d 100644 --- a/mandoc_headers.3 +++ b/mandoc_headers.3 @@ -171,10 +171,6 @@ Common data types for all syntax trees and related functions; can be used everywhere. .Pp Requires -.Qq Pa mandoc_ohash.h -for -.Vt struct ohash -and .Qq Pa mandoc.h for .Vt enum mandoc_os . @@ -197,6 +193,10 @@ and .Fn roff_validate . .Pp Uses pointers to the types +.Vt struct ohash +from +.Pa mandoc_ohash.h +and .Vt struct mdoc_arg and .Vt union mdoc_data @@ -341,11 +341,7 @@ Requires for .Vt enum roff_tok and -.Qq Pa mdoc.h -for -.Vt enum mdoc_* -and -.Vt struct mdoc_* . +.Vt enum roff_sec . .Pp Provides .Vt enum margserr , @@ -355,16 +351,16 @@ and many functions internal to the .Xr mdoc 7 parser. .Pp -Uses the opaque type -.Vt struct mparse -from -.Pa read.c . Uses the types .Vt struct roff_man and .Vt struct roff_node from .Pa roff.h +and +.Vt struct mdoc_arg +from +.Pa mdoc.h as opaque types for function prototypes. .Pp When this header is included, the same file should not include |