summaryrefslogtreecommitdiff
path: root/src/libs6/ftrig1_free.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-07-21 16:42:59 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-07-21 16:42:59 +0000
commit6305fe2580781df44e93c1ec8ed380896680960d (patch)
treeefb5c2c3ebe26118fed1e10d80874784060893f3 /src/libs6/ftrig1_free.c
parent3ea0b28892de170c5de281529613531dfa15eaa8 (diff)
downloads6-6305fe2580781df44e93c1ec8ed380896680960d.tar.xz
Adapt to skalibs-2.7.0.0
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)