summaryrefslogtreecommitdiff
path: root/src/trigger.c
diff options
context:
space:
mode:
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;