summaryrefslogtreecommitdiff
path: root/src/config/util.c
blob: bee150314e892ad997731f5b04dc56f5e897cd96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* ISC license. */

#include <string.h>

#include "tipidee-config-internal.h"

struct starts_with_a_string_key_s
{
  char const *s ;
} ;

int keycmp (void const *a, void const *b)
{
  return strcmp((char const *)a, ((struct starts_with_a_string_key_s const *)b)->s) ;
}