summaryrefslogtreecommitdiff
path: root/src/libunixonacid/unixmessage_sender_free.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-02-19 14:54:44 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-02-19 14:54:44 +0000
commit15eda3d33f9e1160d438d370acd442ef3dbba63f (patch)
tree88f50dd23414f9bee659a6438fa62131825d072d /src/libunixonacid/unixmessage_sender_free.c
parent332d4cbc24ab82cc77bccb0ce2c158c5e86a8fac (diff)
downloadskalibs-15eda3d33f9e1160d438d370acd442ef3dbba63f.tar.xz
Add DragonFly macro; remove nbwaitall and ancilautoclose
Diffstat (limited to 'src/libunixonacid/unixmessage_sender_free.c')
-rw-r--r--src/libunixonacid/unixmessage_sender_free.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libunixonacid/unixmessage_sender_free.c b/src/libunixonacid/unixmessage_sender_free.c
index da127c2..4c07952 100644
--- a/src/libunixonacid/unixmessage_sender_free.c
+++ b/src/libunixonacid/unixmessage_sender_free.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <skalibs/sysdeps.h>
#include <sys/types.h>
#include <skalibs/disize.h>
#include <skalibs/stralloc.h>
@@ -18,9 +17,6 @@ void unixmessage_sender_free (unixmessage_sender_t *b)
{
int fd = genalloc_s(int, &b->fds)[i] ;
if (fd < 0) (*b->closecb)(-(fd+1), b->closecbdata) ;
-#ifdef SKALIBS_HASANCILAUTOCLOSE
- else (*b->closecb)(fd, b->closecbdata) ;
-#endif
}
}
genalloc_free(disize, &b->offsets) ;