From d5fc1b9cece624c98b88898a34dfad9d039d53b3 Mon Sep 17 00:00:00 2001 From: guenther <> Date: Thu, 24 Oct 2013 07:34:56 +0000 Subject: [PATCH] Align suseconds_t with POSIX: it's the type of the tv_usec member of timeval. Use useconds_t in the ualarm() declaration. Bump libstdc++ major to be sure there isn't ABI issues. ok deraadt@ jca@ jmc@ millert@ ports testing by landry@ --- src/include/unistd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/unistd.h b/src/include/unistd.h index 1c402512..5a49e70c 100644 --- a/src/include/unistd.h +++ b/src/include/unistd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: unistd.h,v 1.79 2013/06/17 19:11:54 guenther Exp $ */ +/* $OpenBSD: unistd.h,v 1.80 2013/10/24 07:34:56 guenther Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- @@ -428,7 +428,7 @@ int setreuid(uid_t, uid_t); void swab(const void *, void *, size_t); void sync(void); int truncate(const char *, off_t); -unsigned int ualarm(unsigned int, unsigned int); +useconds_t ualarm(useconds_t, useconds_t); int usleep(useconds_t); pid_t vfork(void); #endif