diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-09-23 18:27:10 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-09-23 18:27:10 +0200 |
commit | acf20c7dbde56c0b7c076d5ee08d78a9aa135fea (patch) | |
tree | e81b8d96c7befd5f3b841f385d987bf40bba52c8 /e_os2.h | |
parent | PR: 2050 (diff) | |
download | openssl-acf20c7dbde56c0b7c076d5ee08d78a9aa135fea.tar.xz openssl-acf20c7dbde56c0b7c076d5ee08d78a9aa135fea.zip |
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 |