diff options
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) ; +} |
