summaryrefslogtreecommitdiff
path: root/src/trigger.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
commit20b85c03e751b4876fa3c92040464e483172b746 (patch)
tree734fadbfdbc143ec4465093857f4c239448715e0 /src/trigger.c
parenta6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (diff)
manual format adjustment
Diffstat (limited to 'src/trigger.c')
-rw-r--r--src/trigger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trigger.c b/src/trigger.c
index 4b7cc49..0578430 100644
--- a/src/trigger.c
+++ b/src/trigger.c
@@ -1,5 +1,7 @@
#include "trigger.h"
+#include <unistd.h>
+
#include "close.h"
#include "ndelay.h"
#include "open.h"
@@ -28,8 +30,6 @@ int trigger_pulled(fd_set *rfds)
return 0;
}
-void write(); /* compiler warning (temp) */
-
void triggerpull()
{
int fd;