summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2016-12-20 00:22:52 +0000
committerColin Watson <cjwatson@debian.org>2016-12-20 00:22:52 +0000
commit971a7653746a6972b907dfe0ce139c06e4a6f482 (patch)
tree70fb964265d57ae4967be55b75dbb2a122e9b969 /defines.h
parenta8ed8d256b2e2c05b0c15565a7938028c5192277 (diff)
parent4a354fc231174901f2629437c2a6e924a2dd6772 (diff)
Import openssh_7.4p1.orig.tar.gz
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/defines.h b/defines.h
index 1b71d3e01..c89f85a8d 100644
--- a/defines.h
+++ b/defines.h
@@ -25,9 +25,6 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.183 2014/09/02 19:33:26 djm Exp $ */
29
30
31/* Constants */ 28/* Constants */
32 29
33#if defined(HAVE_DECL_SHUT_RD) && HAVE_DECL_SHUT_RD == 0 30#if defined(HAVE_DECL_SHUT_RD) && HAVE_DECL_SHUT_RD == 0
@@ -836,6 +833,13 @@ struct winsize {
836#endif 833#endif
837 834
838/* 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/*
839 * Platforms that have arc4random_uniform() and not arc4random_stir() 843 * Platforms that have arc4random_uniform() and not arc4random_stir()
840 * shouldn't need the latter. 844 * shouldn't need the latter.
841 */ 845 */