#include <mLib/bits.h>
#include <mLib/dstr.h>
+#include <mLib/macros.h>
#include "key-data.h"
/* --- Look up the string in the flags table --- */
- if (sz == 4 && strncmp(p, "none", 4) == 0)
+ if (sz == 4 && STRNCMP(p, ==, "none", 4))
goto next;
for (e = flagtab; e->name; e++) {
- if (strncmp(e->name, p, sz) == 0) {
+ if (STRNCMP(e->name, ==, p, sz)) {
if (e->name[sz] == 0) {
ee = e;
break;