notaz.gp2x.de
/
ia32rtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get rid of some duplication
[ia32rtools.git]
/
tools
/
asmproc.c
diff --git
a/tools/asmproc.c
b/tools/asmproc.c
index
be6d4cc
..
956ffa2
100644
(file)
--- 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 <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "my_assert.h"
#include "my_str.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "my_assert.h"
#include "my_str.h"
+#include "common.h"
struct sl_item {
char *name;
struct sl_item {
char *name;
@@
-101,7
+110,6
@@
const char *sym_use(const struct sl_item *sym, int is_rm)
return buf;
}
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))
#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))