summaryrefslogtreecommitdiff
path: root/src/libs6/ftrig1_free.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6/ftrig1_free.c')
-rw-r--r--src/libs6/ftrig1_free.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs6/ftrig1_free.c b/src/libs6/ftrig1_free.c
index 091dc87..61c0d1d 100644
--- a/src/libs6/ftrig1_free.c
+++ b/src/libs6/ftrig1_free.c
@@ -1,6 +1,6 @@
/* ISC license. */
-#include <unistd.h>
+#include <skalibs/posixplz.h>
#include <skalibs/stralloc.h>
#include <skalibs/djbunix.h>
#include "ftrig1.h"
@@ -9,7 +9,7 @@ void ftrig1_free (ftrig1_t *p)
{
if (p->name.s)
{
- unlink(p->name.s) ;
+ unlink_void(p->name.s) ;
stralloc_free(&p->name) ;
}
if (p->fd >= 0)