diff options
author | Daniel Dickman <daniel@cvs.openbsd.org> | 2014-08-19 05:18:17 +0000 |
---|---|---|
committer | Daniel Dickman <daniel@cvs.openbsd.org> | 2014-08-19 05:18:17 +0000 |
commit | 9c40752cb6c2bc91e63cd6d5dae1c9b8da0af39e (patch) | |
tree | fce121e16fec875c8a3227569a5420f50b5337ee | |
parent | fe181d1c39c4f9250c7b869322c301e9dde7ec0b (diff) |
libroff depends on libmandoc and so libmandoc should be included first.
this change makes the code slightly more portable by removing a gcc
extension (incomplete enum types) which is not part of ISO C.
ok schwarze@
-rw-r--r-- | usr.bin/mandoc/roff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/roff.c b/usr.bin/mandoc/roff.c index 776e4c0e081..35f9133ec6d 100644 --- a/usr.bin/mandoc/roff.c +++ b/usr.bin/mandoc/roff.c @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.97 2014/08/08 15:54:10 schwarze Exp $ */ +/* $Id: roff.c,v 1.98 2014/08/19 05:18:16 daniel Exp $ */ /* * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -23,8 +23,8 @@ #include "mandoc.h" #include "mandoc_aux.h" -#include "libroff.h" #include "libmandoc.h" +#include "libroff.h" /* Maximum number of nested if-else conditionals. */ #define RSTACK_MAX 128 |