diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/analysis/routine.c | 4 | ||||
-rw-r--r-- | src/format/symbol.c | 2 | ||||
-rw-r--r-- | src/format/symbol.h | 2 |
4 files changed, 13 insertions, 4 deletions
@@ -1,5 +1,14 @@ 18-02-11 Cyrille Bagard <nocbos@gmail.com> + * src/analysis/routine.c: + Update code. + + * src/format/symbol.c: + * src/format/symbol.h: + Update the prototype used to get symbol label. + +18-02-11 Cyrille Bagard <nocbos@gmail.com> + * src/core/logs.c: Remove compilation warnings. diff --git a/src/analysis/routine.c b/src/analysis/routine.c index b882428..557e9aa 100644 --- a/src/analysis/routine.c +++ b/src/analysis/routine.c @@ -87,7 +87,7 @@ static void g_bin_routine_init(GBinRoutine *); static void g_binary_routine_reset_declarator(GBinRoutine *, bool); /* Fournit une étiquette pour viser une routine. */ -static const char *g_binary_routine_get_label(GBinRoutine *); +static const char *g_binary_routine_get_label(const GBinRoutine *); @@ -641,7 +641,7 @@ const char *g_binary_routine_get_declarator(GBinRoutine *routine, bool full) * * ******************************************************************************/ -static const char *g_binary_routine_get_label(GBinRoutine *routine) +static const char *g_binary_routine_get_label(const GBinRoutine *routine) { return g_binary_routine_get_declarator(routine, false); diff --git a/src/format/symbol.c b/src/format/symbol.c index 099b764..dfb36a6 100644 --- a/src/format/symbol.c +++ b/src/format/symbol.c @@ -396,7 +396,7 @@ SymbolStatus g_binary_symbol_get_status(const GBinSymbol *symbol) * * ******************************************************************************/ -const char *g_binary_symbol_get_label(GBinSymbol *symbol) +const char *g_binary_symbol_get_label(const GBinSymbol *symbol) { const char *result; /* Etiquette à retourner */ diff --git a/src/format/symbol.h b/src/format/symbol.h index 8aabfdf..b6f1e87 100644 --- a/src/format/symbol.h +++ b/src/format/symbol.h @@ -109,7 +109,7 @@ void g_binary_symbol_set_status(GBinSymbol *, SymbolStatus); SymbolStatus g_binary_symbol_get_status(const GBinSymbol *); /* Fournit une étiquette pour viser un symbole. */ -const char *g_binary_symbol_get_label(GBinSymbol *); +const char *g_binary_symbol_get_label(const GBinSymbol *); /* Définit un autre nom pour le symbole. */ void g_binary_symbol_set_alt_label(GBinSymbol *, const char *); |