diff options
author | 2018-12-03 01:51:17 +0000 | |
---|---|---|
committer | 2018-12-03 01:51:17 +0000 | |
commit | cc452b604967a76076801dedac0abe1edf7712cd (patch) | |
tree | a50d790b4fabd73c7f999d258c19b60bb84fe1d0 /sys | |
parent | Include "com.h" to fix using a puc(4) based serial port as serial console (diff) | |
download | wireguard-openbsd-cc452b604967a76076801dedac0abe1edf7712cd.tar.xz wireguard-openbsd-cc452b604967a76076801dedac0abe1edf7712cd.zip |
Avoid uint32_t in _lock.h so users of rwlock.h mutex.h etc don't have to
include sys/types.h first.
ok guenther@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/_lock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/_lock.h b/sys/sys/_lock.h index 8a09c6b942a..320b3bd0772 100644 --- a/sys/sys/_lock.h +++ b/sys/sys/_lock.h @@ -1,4 +1,4 @@ -/* $OpenBSD: _lock.h,v 1.2 2018/06/08 15:38:15 guenther Exp $ */ +/* $OpenBSD: _lock.h,v 1.3 2018/12/03 01:51:17 jsg Exp $ */ /*- * Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved. @@ -60,7 +60,7 @@ struct lock_object { const struct lock_type *lo_type; const char *lo_name; /* Individual lock name. */ struct witness *lo_witness; /* Data for witness. */ - uint32_t lo_flags; + unsigned int lo_flags; }; struct lock_type { |