projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow cross compilation prefix to come from CROSS_COMPILE environment variable
[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
#define OPENSSL_EXTERN OPENSSL_IMPORT
/* Macros to allow global variables to be reached through function calls when
- required (if a shared library version requ
v
res it, for example.
+ required (if a shared library version requ
i
res it, for example.
The way it's done allows definitions like this:
// in foobar.c
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
# define OPENSSL_GLOBAL_REF(name) _shadow_##name
#endif
+#ifdef DEBUG_UNUSED
+#define __owur __attribute__((__warn_unused_result__))
+#else
+#define __owur
+#endif
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif