about summary refs log tree commit diff
path: root/src/libs6/s6lock_end.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6/s6lock_end.c')
-rw-r--r--src/libs6/s6lock_end.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libs6/s6lock_end.c b/src/libs6/s6lock_end.c
deleted file mode 100644
index 8611289..0000000
--- a/src/libs6/s6lock_end.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/* ISC license. */
-
-#include <stdint.h>
-#include <skalibs/genalloc.h>
-#include <skalibs/gensetdyn.h>
-#include <skalibs/textclient.h>
-#include <s6/lock.h>
-
-void s6lock_end (s6lock_t *a)
-{
-  gensetdyn_free(&a->data) ;
-  genalloc_free(uint16_t, &a->list) ;
-  textclient_end(&a->connection) ;
-  *a = s6lock_zero ;
-}