diff options
author | tedu <tedu@openbsd.org> | 2016-08-13 17:05:02 +0000 |
---|---|---|
committer | tedu <tedu@openbsd.org> | 2016-08-13 17:05:02 +0000 |
commit | fd29bd4c19d0dc7c1edf8011928744bf3f42e5f7 (patch) | |
tree | c569bbf6bee3a900cb08925c11bcabc8e0f76d9c /sys/sys/event.h | |
parent | sync (diff) | |
download | wireguard-openbsd-fd29bd4c19d0dc7c1edf8011928744bf3f42e5f7.tar.xz wireguard-openbsd-fd29bd4c19d0dc7c1edf8011928744bf3f42e5f7.zip |
modern interfaces should use modern speelings, so spell quad_t as int64_t.
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index 5770900bdfb..f7c2530ce57 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -1,4 +1,4 @@ -/* $OpenBSD: event.h,v 1.21 2015/10/06 03:29:35 guenther Exp $ */ +/* $OpenBSD: event.h,v 1.22 2016/08/13 17:05:02 tedu Exp $ */ /*- * Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org> @@ -55,7 +55,7 @@ struct kevent { short filter; /* filter for event */ u_short flags; u_int fflags; - quad_t data; + __int64_t data; void *udata; /* opaque user data identifier */ }; @@ -144,7 +144,7 @@ struct knote { struct kevent kn_kevent; int kn_status; int kn_sfflags; /* saved filter flags */ - quad_t kn_sdata; /* saved data field */ + __int64_t kn_sdata; /* saved data field */ union { struct file *p_fp; /* file data pointer */ struct process *p_process; /* process pointer */ |