=================================================================== RCS file: /cvs/mandoc/compat_strtonum.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- mandoc/compat_strtonum.c 2015/02/16 14:56:22 1.1 +++ mandoc/compat_strtonum.c 2020/06/15 01:37:15 1.2 @@ -1,14 +1,6 @@ -#include "config.h" +/* $Id: compat_strtonum.c,v 1.2 2020/06/15 01:37:15 schwarze Exp $ */ +/* $OpenBSD: compat_strtonum.c,v 1.2 2020/06/15 01:37:15 schwarze Exp $ */ -#if HAVE_STRTONUM - -int dummy; - -#else - -/* $Id: compat_strtonum.c,v 1.1 2015/02/16 14:56:22 schwarze Exp $ */ -/* $OpenBSD: compat_strtonum.c,v 1.1 2015/02/16 14:56:22 schwarze Exp $ */ - /* * Copyright (c) 2004 Ted Unangst and Todd Miller * All rights reserved. @@ -25,6 +17,7 @@ int dummy; * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "config.h" #include #include @@ -72,5 +65,3 @@ strtonum(const char *numstr, long long minval, long lo return (ll); } - -#endif /* !HAVE_STRTONUM */