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.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'mmain.c') diff --git a/mmain.c b/mmain.c index 645c9acd..df70a2ee 100644 --- a/mmain.c +++ b/mmain.c @@ -1,4 +1,4 @@ - /* $Id: mmain.c,v 1.12 2009/03/15 07:08:53 kristaps Exp $ */ + /* $Id: mmain.c,v 1.13 2009/03/16 22:19:19 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -58,13 +58,6 @@ static int msg_err(void *, int, int, const char *); static int msg_warn(void *, int, int, enum mdoc_warn, const char *); -#ifdef __linux__ -extern int getsubopt(char **, char *const *, char **); -extern size_t strlcpy(char *, const char *, size_t); -extern size_t strlcat(char *, const char *, size_t); -#endif - - /* * Print our and our caller's usage message. */ @@ -176,7 +169,7 @@ mmain_free(struct mmain *p) } -dead_pre void +__dead void mmain_exit(struct mmain *p, int code) { -- cgit v1.2.3