summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-19 13:36:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-19 13:36:13 +0000
commitaf5633117326edd60450c53218694c3e0a895639 (patch)
treeb6879fc1b21fcf25e8f558cc4d83f3c02404bbec /main.c
parent0d64a6e6bb89ff458faef3450acd365244bcf4a8 (diff)
downloadmandoc-af5633117326edd60450c53218694c3e0a895639.tar.gz
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.
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/main.c b/main.c
index a637ef4f..40c06b8f 100644
--- a/main.c
+++ b/main.c
@@ -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,