summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-10-15 05:51:12 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-10-15 05:51:12 +1100
commit032147b69527e5448a511049b2d43dbcae582624 (patch)
tree935ead300d7068d105477ef4bac264e917032ccd /defines.h
parente0259a82ddd950cfb109ddee86fcebbc09c6bd04 (diff)
Move DEF_WEAK into defines.h.
As well pull in more recent changes from OpenBSD these will start to arrive so put it where the definition is shared.
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 68466a340..c89f85a8d 100644
--- a/defines.h
+++ b/defines.h
@@ -833,6 +833,13 @@ struct winsize {
833#endif 833#endif
834 834
835/* 835/*
836 * We want functions in openbsd-compat, if enabled, to override system ones.
837 * We no-op out the weak symbol definition rather than remove it to reduce
838 * future sync problems.
839 */
840#define DEF_WEAK(x)
841
842/*
836 * Platforms that have arc4random_uniform() and not arc4random_stir() 843 * Platforms that have arc4random_uniform() and not arc4random_stir()
837 * shouldn't need the latter. 844 * shouldn't need the latter.
838 */ 845 */