X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/0f00dc4c8eb47e67bc0f148c2dd109f73a451e0a..a90d420cbe87490c844ae422c966e746d3134b07:/progs/cc-list.c diff --git a/progs/cc-list.c b/progs/cc-list.c index 8bc22192..19ea7d5a 100644 --- a/progs/cc-list.c +++ b/progs/cc-list.c @@ -29,6 +29,7 @@ #define _FILE_OFFSET_BITS 64 +#include #include #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; }