make udpate
[openssl.git] / e_os2.h
diff --git a/e_os2.h b/e_os2.h
index e17527ab404b25660434dc24c3f3c8cc59c6fbea..f5a5fa2bfb15d47bf6e8be98c65201f2ff3660d2 100644 (file)
--- a/e_os2.h
+++ b/e_os2.h
@@ -262,7 +262,7 @@ extern "C" {
 #define OPENSSL_EXTERN OPENSSL_IMPORT
 
 /* Macros to allow global variables to be reached through function calls when
-   required (if a shared library version requvres it, for example.
+   required (if a shared library version requires it, for example.
    The way it's done allows definitions like this:
 
        // in foobar.c
@@ -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