aboutsummaryrefslogtreecommitdiff
path: root/src/misc/lockf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/lockf.c')
-rw-r--r--src/misc/lockf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/misc/lockf.c b/src/misc/lockf.c
index 0162442b..5f816a46 100644
--- a/src/misc/lockf.c
+++ b/src/misc/lockf.c
@@ -28,3 +28,11 @@ int lockf(int fd, int op, off_t size)
errno = EINVAL;
return -1;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif