summaryrefslogtreecommitdiff
path: root/src/triggerpull.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
commit973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch)
tree1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/triggerpull.c
parent66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff)
fix deprecated prototypes
Diffstat (limited to 'src/triggerpull.c')
-rw-r--r--src/triggerpull.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/triggerpull.c b/src/triggerpull.c
deleted file mode 100644
index a55797f..0000000
--- a/src/triggerpull.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "triggerpull.h"
-
-#include <unistd.h>
-
-#include "ndelay.h"
-#include "open.h"
-
-void triggerpull(void)
-{
- int fd;
-
- fd = open_write("lock/trigger");
- if (fd >= 0) {
- ndelay_on(fd);
- write(fd, "", 1); /* if it fails, bummer */
- close(fd);
- }
-}