From 226cff252fdceb503fac6e7e78372a5fa5620690 Mon Sep 17 00:00:00 2001 From: Tobias Rittweiler Date: Fri, 25 Dec 2015 13:11:00 +0100 Subject: [PATCH] asn.h: Guard against being included twice. In order to surpress a warning on clang. --- asn.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/asn.h b/asn.h index dd2d440..803a099 100644 --- a/asn.h +++ b/asn.h @@ -25,8 +25,9 @@ // It will evaluate to nothing if we don't need it. #ifndef NO_IPINFO -#define IPINFO +#ifndef IPINFO +#define IPINFO extern int ipinfo_no; extern int ipinfo_max; @@ -38,4 +39,5 @@ char *fmt_ipinfo(ip_t *addr); int get_iiwidth(void); int is_printii(void); -#endif +#endif /* IPINFO */ +#endif /* NO_IPINFO */ -- 2.47.2