diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-07-21 16:42:59 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-07-21 16:42:59 +0000 |
commit | 6305fe2580781df44e93c1ec8ed380896680960d (patch) | |
tree | efb5c2c3ebe26118fed1e10d80874784060893f3 /src/libs6/ftrig1_free.c | |
parent | 3ea0b28892de170c5de281529613531dfa15eaa8 (diff) | |
download | s6-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.c | 4 |
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) |