summaryrefslogtreecommitdiffstats
path: root/plugins/common.h
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-27 12:37:13 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-27 12:37:13 (GMT)
commite9ede0f8e3b5a5402722ae8d10862f29d30c73ae (patch)
treea76d036ad6fd103941ffd6cb387bc0e7301ba588 /plugins/common.h
parent69b13552864cb6df639cceb94b8d09b1f9af8f17 (diff)
parenta20611d4357c3c3ebe0a62776a1642e7904c1410 (diff)
downloadmonitoring-plugins-e9ede0f8e3b5a5402722ae8d10862f29d30c73ae.tar.gz
Merge branch 'master' of https://github.com/ozamosi/nagios-plugins
* 'master' of https://github.com/ozamosi/nagios-plugins: check_snmp: Close potential for using uninitialized memory check_snmp: Dynamically grow all data structures Conflicts: plugins/check_snmp.c
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/common.h b/plugins/common.h
index f135838..b49ad94 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -208,9 +208,9 @@ enum {
208# define bindtextdomain(Domainname, Dirname) /* empty */ 208# define bindtextdomain(Domainname, Dirname) /* empty */
209#endif 209#endif
210 210
211/* For non-GNU compilers to ignore __attribute__ */ 211/* For non-GNU/non-clang compilers to ignore __attribute__ */
212#ifndef __GNUC__ 212#if !defined(__GNUC__) && !defined(__CLANG__)
213# define __attribute__(x) /* do nothing */ 213# define __attribute__(noreturn) /* do nothing */
214#endif 214#endif
215 215
216#endif /* _COMMON_H_ */ 216#endif /* _COMMON_H_ */