aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2006-03-01 06:29:34 +0000
committerDavid Xu <davidxu@FreeBSD.org>2006-03-01 06:29:34 +0000
commit61d3a4efc24f240ff5625b9220aa441ed82c2fae (patch)
tree84881d2d3de0a8e85455bb39906451578c7b8991 /sys/sys
parentb8211fabf16d20aea72153fa96fc8690a8719761 (diff)
downloadsrc-61d3a4efc24f240ff5625b9220aa441ed82c2fae.tar.gz
src-61d3a4efc24f240ff5625b9220aa441ed82c2fae.zip
Let kernel POSIX timer code and mqueue code to use integer as a resource
handle, the timer_t and mqd_t types will be a pointer which userland will define it.
Notes
Notes: svn path=/head/; revision=156134
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index 3d09307dc01b..6f1f74a3bc07 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -57,8 +57,8 @@ typedef __int64_t __rlim_t; /* resource limit - intentionally */
typedef __uint8_t __sa_family_t;
typedef __uint32_t __socklen_t;
typedef long __suseconds_t; /* microseconds (signed) */
-typedef __int32_t __timer_t; /* timer_gettime()... */
-typedef __int32_t __mqd_t; /* mq_open()... */
+typedef struct __timer *__timer_t; /* timer_gettime()... */
+typedef struct __mq *__mqd_t; /* mq_open()... */
typedef __uint32_t __uid_t;
typedef unsigned int __useconds_t; /* microseconds (unsigned) */