From: schwarze Date: Thu, 15 Oct 2015 23:35:38 +0000 (+0000) Subject: Delete two preprocessor constants that are no longer used. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0dcbafe0cbee11a242949130b6edafe15beddc77;p=openbsd Delete two preprocessor constants that are no longer used. Patch from Michael Reed . --- 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 * Copyright (c) 2011-2015 Ingo Schwarze @@ -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 * Copyright (c) 2010-2015 Ingo Schwarze @@ -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