diff options
author | 2018-04-26 15:55:14 +0000 | |
---|---|---|
committer | 2018-04-26 15:55:14 +0000 | |
commit | 6316a812ffce2a07760250a855370f709586d085 (patch) | |
tree | 817a308ccfb569fe5fcf952dc86fb13a140faba6 /regress/lib/libpthread/select/select.c | |
parent | No need for two copies of tricky user input gathering code. Just use (diff) | |
download | wireguard-openbsd-6316a812ffce2a07760250a855370f709586d085.tar.xz wireguard-openbsd-6316a812ffce2a07760250a855370f709586d085.zip |
Prefer <fcntl.h> over <sys/fcntl.h> in userland
While here, delete some extra #includes and apply style(9) sort rules.
ok deraadt@ krw@ mpi@
Diffstat (limited to 'regress/lib/libpthread/select/select.c')
-rw-r--r-- | regress/lib/libpthread/select/select.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/regress/lib/libpthread/select/select.c b/regress/lib/libpthread/select/select.c index 5e3f4a61fa0..a2bbd3da25e 100644 --- a/regress/lib/libpthread/select/select.c +++ b/regress/lib/libpthread/select/select.c @@ -1,4 +1,4 @@ -/* $OpenBSD: select.c,v 1.3 2003/07/31 21:48:06 deraadt Exp $ */ +/* $OpenBSD: select.c,v 1.4 2018/04/26 15:55:14 guenther Exp $ */ /* * Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors, * proven@mit.edu All rights reserved. @@ -36,15 +36,15 @@ * Rudimentary test of select(). */ -#include <pthread.h> -#include <pthread_np.h> -#include <stdio.h> -#include <sys/fcntl.h> #include <sys/types.h> #include <sys/time.h> #include <errno.h> -#include <unistd.h> +#include <fcntl.h> +#include <pthread.h> +#include <pthread_np.h> +#include <stdio.h> #include <stdlib.h> +#include <unistd.h> #include "test.h" #define NLOOPS 10000 |