diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-16 22:19:19 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-16 22:19:19 +0000 |
commit | 0f78a072b396e52a775bdbe9f6687c67bf1439bb (patch) | |
tree | b27a8c382f8dea4d64b1e228090f7c5197a03726 /mmain.h | |
parent | 0f40156e5aa1d8acdf0a8c560bdeabb48fdd4271 (diff) | |
download | mandoc-0f78a072b396e52a775bdbe9f6687c67bf1439bb.tar.gz |
Fixed mdoc_phrase escape handling.
Added MDOC_IGNDELIM (Pf, soon Li, etc.).
macro_constant_delimited ignargs -> argv.c parsing.
Renamed macro functions to correspond to ontologies.
`Fo' and `St' made callable (compat documented).
strings.sh deprecated (directly using CPP).
Abstracted ASCII translation into ascii.{c,in}.
ASCII table uses a self-reordering chained hashtable.
Removed old regressions.
Diffstat (limited to 'mmain.h')
-rw-r--r-- | mmain.h | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -28,24 +28,12 @@ #include "mdoc.h" -/* Rules for "dead" functions: */ -#if defined(__NetBSD__) -#define dead_pre __dead -#define dead_post __attribute__((__noreturn__)) -#elif defined(__OpenBSD__) -#define dead_pre __dead -#define dead_post /* Nothing. */ -#else -#define dead_pre /* Nothing. */ -#define dead_post __attribute__((__noreturn__)) -#endif - __BEGIN_DECLS struct mmain; struct mmain *mmain_alloc(void); -dead_pre void mmain_exit(struct mmain *, int) dead_post; +__dead void mmain_exit(struct mmain *, int); int mmain_getopt(struct mmain *, int, char *[], const char *, const char *, const char *, void *, |