aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/fcntl.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2011-10-27 17:44:51 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2011-10-27 17:44:51 +0000
commit464ff7d2230338ba467744e21a1f05c48d00a33a (patch)
tree05aef95b9568b6a64cd60d54aca5582ac53f7664 /sys/sys/fcntl.h
parent62238a67912fb9967ad3fd91de75fc248dfb0eb9 (diff)
downloadsrc-464ff7d2230338ba467744e21a1f05c48d00a33a.tar.gz
src-464ff7d2230338ba467744e21a1f05c48d00a33a.zip
Sort function prototypes.
Notes
Notes: svn path=/head/; revision=226850
Diffstat (limited to 'sys/sys/fcntl.h')
-rw-r--r--sys/sys/fcntl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/fcntl.h b/sys/sys/fcntl.h
index 6f48ee7b72f3..28a66d02b2d9 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