From 08508ed7e6368876201309aff6964a039f011045 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 16 Mar 2009 22:19:19 +0000 Subject: 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. --- mmain.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'mmain.h') diff --git a/mmain.h b/mmain.h index 3fe7b580..2f79d178 100644 --- a/mmain.h +++ b/mmain.h @@ -1,4 +1,4 @@ -/* $Id: mmain.h,v 1.5 2009/03/15 07:08:53 kristaps Exp $ */ +/* $Id: mmain.h,v 1.6 2009/03/16 22:19:19 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -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 *, -- cgit v1.2.3-56-ge451