From 543c1405653c48d23e19d03d7c62e9534fc9a110 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 23 Mar 2017 14:34:16 +0000 Subject: Don't wait on locks by default (fail instead); add a -b option to get the waiting behaviour Also fix a few types in s6-rc-compile (unsigned int -> uint32_t for avltree indices) --- src/include/s6-rc/s6rc-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/s6-rc/s6rc-utils.h b/src/include/s6-rc/s6rc-utils.h index 4eb65f5..22d8324 100644 --- a/src/include/s6-rc/s6rc-utils.h +++ b/src/include/s6-rc/s6rc-utils.h @@ -8,7 +8,7 @@ #include extern void s6rc_graph_closure (s6rc_db_t const *, unsigned char *, unsigned int, int) ; -extern int s6rc_lock (char const *, int, int *, char const *, int, int *) ; +extern int s6rc_lock (char const *, int, int *, char const *, int, int *, int) ; extern int s6rc_read_uint (char const *, unsigned int *) ; extern int s6rc_sanitize_dir (stralloc *, char const *, size_t *) ; -- cgit v1.2.3