diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-08-19 16:29:18 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-08-19 16:29:18 +0000 |
| commit | bfdfb6e54738a6a26d146eadf025646fa65c7b0c (patch) | |
| tree | 34ff6e5d263cdf9d3115c6f6aa4667f4d0ee8db0 /src/libs6rc/s6rc_strrefcmp.c | |
| parent | a92aa0997e0d367e396b02dc2d55d0c0a3cbbc38 (diff) | |
| download | s6-rc-bfdfb6e54738a6a26d146eadf025646fa65c7b0c.tar.gz | |
Almost got a full sync, still need the adjustment heuristic
Diffstat (limited to 'src/libs6rc/s6rc_strrefcmp.c')
| -rw-r--r-- | src/libs6rc/s6rc_strrefcmp.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 <string.h> + +#include <s6-rc/s6rc-utils.h> + +int s6rc_strrefcmp (void const *a, void const *b) +{ + return strcmp(*(char const *const *)a, *(char const *const *)b) ; +} |
