summaryrefslogtreecommitdiff
path: root/src/tryflock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tryflock.c')
-rw-r--r--src/tryflock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tryflock.c b/src/tryflock.c
index b18743a..e15acca 100644
--- a/src/tryflock.c
+++ b/src/tryflock.c
@@ -1,8 +1,8 @@
-#include <sys/types.h>
-#include <sys/file.h>
#include <fcntl.h>
+#include <sys/file.h>
+#include <sys/types.h>
int main()
{
- flock(0,LOCK_EX | LOCK_UN | LOCK_NB);
+ flock(0, LOCK_EX | LOCK_UN | LOCK_NB);
}