diff options
author | 2020-05-17 11:12:55 +0000 | |
---|---|---|
committer | 2020-05-17 11:12:55 +0000 | |
commit | e1ce6058128bbedce7f4d8f766a5a82a09a46cc3 (patch) | |
tree | cba371adda9923d5e43c75260f8ed49fd569b6cc /lib/libcrypto/arc4random/getentropy_solaris.c | |
parent | Add machdep.compatible. (diff) | |
download | wireguard-openbsd-e1ce6058128bbedce7f4d8f766a5a82a09a46cc3.tar.xz wireguard-openbsd-e1ce6058128bbedce7f4d8f766a5a82a09a46cc3.zip |
Fix WITNESS build
sparc64 (and arm mem.c) are the only architectures/places where
RWLOCK_INITIALIZER() is used with static function variables, all other
(mem.c) usages place it into the global scope.
Fix builds with WITNESS enabled for sparc64 and arm by moving physlock
into global scope:
mem.c:93: error: initializer element is not constant
mem.c:93: error: (near initialization for 'physlock.rwl_lock_obj.lo_type')
OK visa
Diffstat (limited to 'lib/libcrypto/arc4random/getentropy_solaris.c')
0 files changed, 0 insertions, 0 deletions