diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-09-23 16:27:10 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-09-23 16:27:10 +0000 |
commit | acf20c7dbde56c0b7c076d5ee08d78a9aa135fea (patch) | |
tree | e81b8d96c7befd5f3b841f385d987bf40bba52c8 /e_os2.h | |
parent | 7c75f462e8754c0cf94a0a3678c47fc10c78a314 (diff) | |
download | openssl-acf20c7dbde56c0b7c076d5ee08d78a9aa135fea.tar.gz |
Add attribute to check if return value of certain functions is incorrectly
ignored.
Diffstat (limited to 'e_os2.h')
-rw-r--r-- | e_os2.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -283,6 +283,12 @@ extern "C" { # define OPENSSL_GLOBAL_REF(name) _shadow_##name #endif +#ifdef DEBUG_UNUSED +#define __owur __attribute__((__warn_unused_result__)) +#else +#define __owur +#endif + #ifdef __cplusplus } #endif |