From: tedu Date: Sat, 13 Aug 2016 17:05:02 +0000 (+0000) Subject: modern interfaces should use modern speelings, so spell quad_t as int64_t. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fd29bd4c19d0dc7c1edf8011928744bf3f42e5f7;p=openbsd modern interfaces should use modern speelings, so spell quad_t as int64_t. --- diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 1bd57716e88..35ca23d7dec 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kqueue.2,v 1.32 2015/11/07 22:57:52 jmc Exp $ +.\" $OpenBSD: kqueue.2,v 1.33 2016/08/13 17:05:02 tedu Exp $ .\" .\" Copyright (c) 2000 Jonathan Lemon .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/lib/libc/sys/kqueue.2,v 1.18 2001/02/14 08:48:35 guido Exp $ .\" -.Dd $Mdocdate: November 7 2015 $ +.Dd $Mdocdate: August 13 2016 $ .Dt KQUEUE 2 .Os .Sh NAME @@ -138,7 +138,7 @@ struct kevent { short filter; /* filter for event */ u_short flags; /* action flags for kqueue */ u_int fflags; /* filter flag value */ - quad_t data; /* filter data value */ + int64_t data; /* filter data value */ void *udata; /* opaque user data identifier */ }; .Ed 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 @@ -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 */