diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-10-15 23:35:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-10-15 23:35:39 +0000 |
commit | b6a2347a20fff8a823933162eba5d73416f70ab8 (patch) | |
tree | 2979f0aba8f684bd1a07f787657dd5149b00cc01 /usr.bin/mandoc | |
parent | 539c7163249ee18c5c151f1958f3892a3b57c031 (diff) |
Delete two preprocessor constants that are no longer used.
Patch from Michael Reed <m dot reed at mykolab dot com>.
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r-- | usr.bin/mandoc/mandoc.c | 4 | ||||
-rw-r--r-- | usr.bin/mandoc/roff.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/usr.bin/mandoc/mandoc.c b/usr.bin/mandoc/mandoc.c index 3e56edf3abd..612a70603e1 100644 --- a/usr.bin/mandoc/mandoc.c +++ b/usr.bin/mandoc/mandoc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mandoc.c,v 1.64 2015/10/13 23:30:42 schwarze Exp $ */ +/* $OpenBSD: mandoc.c,v 1.65 2015/10/15 23:35:38 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -30,8 +30,6 @@ #include "mandoc_aux.h" #include "libmandoc.h" -#define DATESIZE 32 - static int a2time(time_t *, const char *, const char *); static char *time2a(time_t); diff --git a/usr.bin/mandoc/roff.c b/usr.bin/mandoc/roff.c index a32d4746b86..ffd18923535 100644 --- a/usr.bin/mandoc/roff.c +++ b/usr.bin/mandoc/roff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: roff.c,v 1.151 2015/10/13 22:57:49 schwarze Exp $ */ +/* $OpenBSD: roff.c,v 1.152 2015/10/15 23:35:38 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -31,9 +31,6 @@ #include "roff_int.h" #include "libroff.h" -/* Maximum number of nested if-else conditionals. */ -#define RSTACK_MAX 128 - /* Maximum number of string expansions per line, to break infinite loops. */ #define EXPAND_LIMIT 1000 |