Deploy the new <ctype.h> and `foocmp' macros from mLib.
[catacomb] / progs / cc-list.c
index 8bc2219..19ea7d5 100644 (file)
@@ -29,6 +29,7 @@
 
 #define _FILE_OFFSET_BITS 64
 
+#include <mLib/macros.h>
 #include <mLib/report.h>
 
 #include "cc.h"
@@ -57,7 +58,7 @@ int displaylists(const struct listent *listtab, char *const argv[])
   } else {
     for (i = 0; argv[i]; i++) {
       for (li = listtab; li->name; li++) {
-       if (strcmp(li->name, argv[i]) == 0) {
+       if (STRCMP(li->name, ==, argv[i])) {
          li->list();
          goto cool;
        }