From 98daac0ecda612e4a9bb14164e39f998d047a346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Wed, 1 Apr 2015 01:57:44 +0200 Subject: [PATCH] lh5801: use char[4] instead of const char* for mnemonics This only saves around 200 bytes on the stripped .o file, so no big gain. --- libr/asm/arch/lh5801/lh5801.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libr/asm/arch/lh5801/lh5801.h b/libr/asm/arch/lh5801/lh5801.h index 5be3af3bda..3b99a7efc8 100644 --- a/libr/asm/arch/lh5801/lh5801.h +++ b/libr/asm/arch/lh5801/lh5801.h @@ -89,9 +89,8 @@ enum lh5801_insn_class { /* Instruction description. */ struct lh5801_insn_class_desc { - /* Assembler mnemonic and description (for ?d) */ - const char *mnem; - const char *desc; + char mnem[4]; /* Assembler mnemonic */ + const char *desc; /* Textual description (for ?d) */ /* TODO: r2 insn type? */ };