diff options
author | kn <kn@cvs.openbsd.org> | 2020-05-17 11:12:56 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2020-05-17 11:12:56 +0000 |
commit | e6c0f2cf8d995984649d1ae8471d2b2a35785889 (patch) | |
tree | c1532e760da5fd030b86b663dfbb8b33efe3a7dc /bin/rmdir | |
parent | 8224b1d6a72ae58b50446d65104649670cb0f4ce (diff) |
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 'bin/rmdir')
0 files changed, 0 insertions, 0 deletions