From 973ae30e7c4f7a1afb385dd3d8eeea178f981445 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Mon, 8 Jul 2024 13:24:39 +0200 Subject: fix deprecated prototypes --- src/triggerpull.c | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/triggerpull.c (limited to 'src/triggerpull.c') 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 - -#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); - } -} -- cgit v1.2.3