aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstddjb/stringkey_casecmp.c
blob: 355c0d1ad63726e0b581e5e31afbc3135fed490f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* ISC license. */

#include <strings.h>

#include <skalibs/bytestr.h>
#include "bytestr-internal.h"

int stringkey_casecmp (void const *a, void const *b)
{
  struct stringkey_s const *aa = a ;
  struct stringkey_s const *bb = b ;
  return strcasecmp(aa->s, bb->s) ;
}