diff options
Diffstat (limited to 'plugins/dalvik')
-rw-r--r-- | plugins/dalvik/operands/register.c | 2 | ||||
-rw-r--r-- | plugins/dalvik/register.c | 4 | ||||
-rw-r--r-- | plugins/dalvik/register.h | 5 |
3 files changed, 4 insertions, 7 deletions
diff --git a/plugins/dalvik/operands/register.c b/plugins/dalvik/operands/register.c index 79d8756..71da97f 100644 --- a/plugins/dalvik/operands/register.c +++ b/plugins/dalvik/operands/register.c @@ -34,7 +34,7 @@ struct _GDalvikRegisterOperand { GArchOperand parent; /* Instance parente */ - const GDalvikRegister *reg; /* Registre représenté */ + GDalvikRegister *reg; /* Registre représenté */ bool is_written; /* Changement de contenu */ }; diff --git a/plugins/dalvik/register.c b/plugins/dalvik/register.c index 8374e75..1e59421 100644 --- a/plugins/dalvik/register.c +++ b/plugins/dalvik/register.c @@ -76,7 +76,7 @@ static guint g_dalvik_register_hash(const GDalvikRegister *); static void g_dalvik_register_print(const GDalvikRegister *, GBufferLine *, AsmSyntax); /* Crée une réprésentation de registre Dalvik. */ -GDalvikRegister *_g_dalvik_register_new(uint16_t); +static GDalvikRegister *_g_dalvik_register_new(uint16_t); @@ -261,7 +261,7 @@ static void g_dalvik_register_print(const GDalvikRegister *reg, GBufferLine *lin * * ******************************************************************************/ -GDalvikRegister *_g_dalvik_register_new(uint16_t index) +static GDalvikRegister *_g_dalvik_register_new(uint16_t index) { GDalvikRegister *result; /* Structure à retourner */ diff --git a/plugins/dalvik/register.h b/plugins/dalvik/register.h index ec45c12..ffa44e4 100644 --- a/plugins/dalvik/register.h +++ b/plugins/dalvik/register.h @@ -26,10 +26,7 @@ #include <glib-object.h> -#include <stdbool.h> - - -#include <arch/archbase.h> +#include <stdint.h> |