X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tools%2Fasmproc.c;h=956ffa249245e7c8148a82a3e3d6add8cb037360;hb=ee554c95296119b6b8d82856fbb09ffb8c9dc419;hp=be6d4cc2c57083f5007607538f416813d4f94441;hpb=092f64e1941e7eb188ce00d301e5734d53e3974c;p=ia32rtools.git diff --git a/tools/asmproc.c b/tools/asmproc.c index be6d4cc..956ffa2 100644 --- a/tools/asmproc.c +++ b/tools/asmproc.c @@ -1,9 +1,18 @@ +/* + * ia32rtools + * (C) notaz, 2013,2014 + * + * This work is licensed under the terms of 3-clause BSD license. + * See COPYING file in the top-level directory. + */ + #include #include #include #include "my_assert.h" #include "my_str.h" +#include "common.h" struct sl_item { char *name; @@ -101,7 +110,6 @@ const char *sym_use(const struct sl_item *sym, int is_rm) return buf; } -#define IS(w, y) !strcasecmp(w, y) #define IS_OR2(w, x, y) (IS(w, x) || IS(w, y)) #define IS_OR3(w, x, y, z) (IS(w, x) || IS(w, y) || IS(w, z))