From 975c4efdd72e317f7deaf7e53910504cb7df89ef Mon Sep 17 00:00:00 2001 From: Jerry Jelinek Date: Fri, 5 Jun 2015 15:29:31 +0000 Subject: OS-4384 5917 breaks smartos build --- usr/src/uts/common/sys/flock.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/src/uts/common/sys/flock.h b/usr/src/uts/common/sys/flock.h index 112a91fca6..3d4b3626b9 100644 --- a/usr/src/uts/common/sys/flock.h +++ b/usr/src/uts/common/sys/flock.h @@ -225,8 +225,10 @@ typedef struct locklist { #define FLK_QUERY_ACTIVE 0x1 #define FLK_QUERY_SLEEPING 0x2 +#if defined(_KERNEL) int ofdlock(file_t *, int, struct flock64 *, int, u_offset_t); void ofdcleanlock(file_t *); +#endif int reclock(struct vnode *, struct flock64 *, int, int, u_offset_t, flk_callback_t *); int chklock(struct vnode *, int, u_offset_t, ssize_t, int, -- cgit v1.2.3