diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-04-22 21:53:07 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-04-22 21:53:07 (GMT) |
commit | 9c1367eb2e75dfac59f33e851dee8d39542072ac (patch) | |
tree | dd999e736e12c47d9d0b90808451d14c6279a85d /src/format | |
parent | a2979604ebaa3d564908f13e4f9ab345fca0ff28 (diff) |
Shared target operands in memory when possible.
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/symbol.c | 2 | ||||
-rw-r--r-- | src/format/symbol.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/format/symbol.c b/src/format/symbol.c index 789dd86..4a44f83 100644 --- a/src/format/symbol.c +++ b/src/format/symbol.c @@ -256,7 +256,7 @@ GBinSymbol *g_binary_symbol_new(SymbolType type) * * ******************************************************************************/ -int g_binary_symbol_cmp(const GBinSymbol **a, const GBinSymbol **b) +int g_binary_symbol_cmp(const GBinSymbol * const *a, const GBinSymbol * const *b) { int result; /* Bilan à retourner */ const mrange_t *ra; /* Emplacement du symbole A */ diff --git a/src/format/symbol.h b/src/format/symbol.h index d5c9a79..7929bc9 100644 --- a/src/format/symbol.h +++ b/src/format/symbol.h @@ -81,7 +81,7 @@ GType g_binary_symbol_get_type(void); GBinSymbol *g_binary_symbol_new(SymbolType); /* Compare deux symboles d'exécutable selon leurs propriétés. */ -int g_binary_symbol_cmp(const GBinSymbol **, const GBinSymbol **); +int g_binary_symbol_cmp(const GBinSymbol * const *, const GBinSymbol * const *); /* Compare un symbole et une localisation. */ int g_binary_symbol_cmp_with_vmpa(const GBinSymbol *, const vmpa2t *); |