summaryrefslogtreecommitdiff
path: root/src/tryflock.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
commita6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (patch)
treeb88cc7a8457658d67e0321718556ac807f6bccf3 /src/tryflock.c
parent00be7622c428f279872f84569f098ce16150f8a8 (diff)
format files
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);
}