progs/perftest.c: Use from Glibc syscall numbers.
[catacomb] / symm / gthingtab.c.in
index 1c51520..92fe792 100644 (file)
@@ -9,10 +9,12 @@
 
 #include <string.h>
 
+#include <mLib/macros.h>
+
 #include "@what.h"
 
 %repeat
-#include "@{thing:left}.h"
+#include "@{thing:left:f}.h"
 %end
 
 const @cls *const @{what}tab[] = {
@@ -27,6 +29,6 @@ const @cls *@{what}_byname(const char *p)
   const @cls *const *c;
 
   for (c = @{what}tab; *c; c++)
-    if (strcmp(p, (*c)->name) == 0) return (*c);
+    if (STRCMP(p, ==, (*c)->name)) return (*c);
   return (0);
 }