From 464ff7d2230338ba467744e21a1f05c48d00a33a Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 27 Oct 2011 17:44:51 +0000 Subject: [PATCH] Sort function prototypes. --- sys/sys/fcntl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/sys/fcntl.h b/sys/sys/fcntl.h index 6f48ee7b72f..28a66d02b2d 100644 --- a/sys/sys/fcntl.h +++ b/sys/sys/fcntl.h @@ -286,15 +286,15 @@ __BEGIN_DECLS int open(const char *, int, ...); int creat(const char *, mode_t); int fcntl(int, int, ...); +#if __BSD_VISIBLE +int flock(int, int); +#endif #if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809 int openat(int, const char *, int, ...); #endif #if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 int posix_fallocate(int, off_t, off_t); #endif -#if __BSD_VISIBLE -int flock(int, int); -#endif __END_DECLS #endif