diff options
author | 1997-11-06 01:25:47 +0000 | |
---|---|---|
committer | 1997-11-06 01:25:47 +0000 | |
commit | fe5adcf1e3fd9e9ad3e496fdf2733d28cc5ed1bd (patch) | |
tree | 8ee11af5b64d9d3bce62888d72e8384db8034383 /sys | |
parent | u_short keys --> u_int keys (diff) | |
download | wireguard-openbsd-fe5adcf1e3fd9e9ad3e496fdf2733d28cc5ed1bd.tar.xz wireguard-openbsd-fe5adcf1e3fd9e9ad3e496fdf2733d28cc5ed1bd.zip |
XPG4.2 compat:
1) usleep() and ualarm() use useconds_t not u_int
2) usleep() returns an int
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/types.h b/sys/sys/types.h index 1dd72e61c82..6159e50a7d5 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: types.h,v 1.10 1997/04/20 20:47:33 tholo Exp $ */ +/* $OpenBSD: types.h,v 1.11 1997/11/06 01:25:47 millert Exp $ */ /* $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ */ /*- @@ -81,6 +81,7 @@ typedef quad_t rlim_t; /* resource limit */ typedef int32_t segsz_t; /* segment size */ typedef int32_t swblk_t; /* swap offset */ typedef u_int32_t uid_t; /* user id */ +typedef u_int32_t useconds_t; /* microseconds */ /* * These belong in unistd.h, but are placed here too to ensure that |