From 607678e917a8a274f92445854c58aaaa05b824a8 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 19 Jul 2016 13:36:13 +0000 Subject: Use __attribute__((__format__ throughout. Triggered by a smaller patch from Christos Zoulas. While here, unify style, move several config tests to config.h, and delete the useless MANDOC_CONFIG_H. --- main.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index e7e70d04..16f55a09 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.272 2016/07/15 19:33:01 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, -- cgit v1.2.3-56-ge451