aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/cr16.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index ab3f029..9eb5f0a 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2021-04-01 Martin Liska <mliska@suse.cz>
+
+ * opcode/cr16.h (strneq): Remove strneq and use startswith.
+
2021-03-31 Alan Modra <amodra@gmail.com>
* bfdlink.h: Replace bfd_boolean with bool throughout.
diff --git a/include/opcode/cr16.h b/include/opcode/cr16.h
index a96b337..09e2712 100644
--- a/include/opcode/cr16.h
+++ b/include/opcode/cr16.h
@@ -425,7 +425,6 @@ extern const char * cr16_no_op_insn[];
/* Utility macros for string comparison. */
#define streq(a, b) (strcmp (a, b) == 0)
-#define strneq(a, b, c) (strncmp (a, b, c) == 0)
/* Long long type handling. */
/* Replace all appearances of 'long long int' with LONGLONG. */