Prefer static generation of functions

This commit is contained in:
Baptiste Daroussin 2015-08-08 22:01:54 +00:00
parent 6131dc6a88
commit e30c75b1f5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/collation/; revision=286482

View File

@ -80,8 +80,7 @@ typedef struct ctype_node {
} ctype_node_t;
RB_HEAD(ctypes, ctype_node) ctypes;
RB_PROTOTYPE(ctypes, ctype_node, entry, ctype_compare);
RB_GENERATE(ctypes, ctype_node, entry, ctype_compare);
RB_GENERATE_STATIC(ctypes, ctype_node, entry, ctype_compare);
static int
ctype_compare(const void *n1, const void *n2)