=================================================================== RCS file: /cvs/mandoc/main.c,v retrieving revision 1.271 retrieving revision 1.273 diff -u -p -r1.271 -r1.273 --- mandoc/main.c 2016/07/15 18:50:20 1.271 +++ mandoc/main.c 2016/07/19 13:36:13 1.273 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.271 2016/07/15 18:50:20 schwarze Exp $ */ +/* $Id: main.c,v 1.273 2016/07/19 13:36:13 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2012, 2014-2016 Ingo Schwarze @@ -51,12 +51,6 @@ #include "manconf.h" #include "mansearch.h" -#if !defined(__GNUC__) || (__GNUC__ < 2) -# if !defined(lint) -# define __attribute__(x) -# endif -#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */ - enum outmode { OUTMODE_DEF = 0, OUTMODE_FLN, @@ -980,7 +974,7 @@ woptions(struct curparse *curp, char *arg) while (*arg) { o = arg; - switch (getsubopt(&arg, UNCONST(toks), &v)) { + switch (getsubopt(&arg, (char * const *)toks, &v)) { case 0: curp->wstop = 1; break;