From bfdfb6e54738a6a26d146eadf025646fa65c7b0c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 19 Aug 2025 16:29:18 +0000 Subject: Almost got a full sync, still need the adjustment heuristic --- src/libs6rc/s6rc_strrefcmp.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/libs6rc/s6rc_strrefcmp.c (limited to 'src/libs6rc/s6rc_strrefcmp.c') diff --git a/src/libs6rc/s6rc_strrefcmp.c b/src/libs6rc/s6rc_strrefcmp.c new file mode 100644 index 0000000..e4732df --- /dev/null +++ b/src/libs6rc/s6rc_strrefcmp.c @@ -0,0 +1,10 @@ +/* ISC license. */ + +#include + +#include + +int s6rc_strrefcmp (void const *a, void const *b) +{ + return strcmp(*(char const *const *)a, *(char const *const *)b) ; +} -- cgit v1.3.1