~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math/mpx-mul4-*.S: Use more portable type syntax for ambiguous instructions.
[catacomb]
/
base
/
keysz-conv.c
diff --git
a/base/keysz-conv.c
b/base/keysz-conv.c
index
2d40558
..
9ed9f58
100644
(file)
--- a/
base/keysz-conv.c
+++ b/
base/keysz-conv.c
@@
-140,6
+140,8
@@
CONVERSIONS(DEFINE_TO)
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
+#include <mLib/macros.h>
+
static const struct entry {
const char *name;
double (*func)(double);
static const struct entry {
const char *name;
double (*func)(double);
@@
-162,7
+164,7
@@
int main(int argc, char *argv[])
putc('\n', stderr);
return (1);
}
putc('\n', stderr);
return (1);
}
- for (e = tab; e->name &&
strcmp(e->name
, argv[1]); e++);
+ for (e = tab; e->name &&
STRCMP(e->name, !=
, argv[1]); e++);
if (!e) {
fprintf(stderr, "unknown conversion `%s'\n", argv[1]);
return (1);
if (!e) {
fprintf(stderr, "unknown conversion `%s'\n", argv[1]);
return (1);