diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-27 14:37:13 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-27 14:37:13 +0200 |
commit | e9ede0f8e3b5a5402722ae8d10862f29d30c73ae (patch) | |
tree | a76d036ad6fd103941ffd6cb387bc0e7301ba588 /plugins/common.h | |
parent | 69b13552864cb6df639cceb94b8d09b1f9af8f17 (diff) | |
parent | a20611d4357c3c3ebe0a62776a1642e7904c1410 (diff) | |
download | monitoring-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/common.h b/plugins/common.h index f1358380..b49ad945 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_ */ |