diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/operands/rename-int.h | 2 | ||||
-rw-r--r-- | src/arch/operands/rename.c | 4 | ||||
-rw-r--r-- | src/arch/operands/rename.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/operands/rename-int.h b/src/arch/operands/rename-int.h index 28653b9..d0551d0 100644 --- a/src/arch/operands/rename-int.h +++ b/src/arch/operands/rename-int.h @@ -33,7 +33,7 @@ /* Obtient l'adresse de la cible visée par un opérande. */ -typedef const char * (* get_renamed_text_fc) (const GRenamedOperand *); +typedef char * (* get_renamed_text_fc) (const GRenamedOperand *); /* Opérande renommé avec un texte alternatif (interface) */ diff --git a/src/arch/operands/rename.c b/src/arch/operands/rename.c index e865b63..f87c566 100644 --- a/src/arch/operands/rename.c +++ b/src/arch/operands/rename.c @@ -83,9 +83,9 @@ static void g_renamed_operand_default_init(GRenamedOperandInterface *iface) * * ******************************************************************************/ -const char *g_renamed_operand_get_text(const GRenamedOperand *operand) +char *g_renamed_operand_get_text(const GRenamedOperand *operand) { - const char *result; /* Texte à retourner */ + char *result; /* Texte à retourner */ GRenamedOperandIface *iface; /* Interface utilisée */ iface = G_RENAMED_OPERAND_GET_IFACE(operand); diff --git a/src/arch/operands/rename.h b/src/arch/operands/rename.h index a6b99d7..31314ca 100644 --- a/src/arch/operands/rename.h +++ b/src/arch/operands/rename.h @@ -51,7 +51,7 @@ typedef struct _GRenamedOperandIface GRenamedOperandIface; GType g_renamed_operand_get_type(void) G_GNUC_CONST; /* Fournit un texte comme représentation alternative d'opérande. */ -const char *g_renamed_operand_get_text(const GRenamedOperand *); +char *g_renamed_operand_get_text(const GRenamedOperand *); |