summary refs log tree commit diff
path: root/src/tryflock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tryflock.c')
-rw-r--r--src/tryflock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tryflock.c b/src/tryflock.c
index a82ffc2..68599d3 100644
--- a/src/tryflock.c
+++ b/src/tryflock.c
@@ -4,7 +4,7 @@
 #include <sys/file.h>
 #include <fcntl.h>
 
-main()
+int main()
 {
   flock(0,LOCK_EX | LOCK_UN | LOCK_NB);
 }