From 21c07638ed33ca38b8421775e9262ebfdf6f66bb Mon Sep 17 00:00:00 2001 From: mercat Date: Wed, 11 Sep 2019 15:57:15 +0300 Subject: [PATCH] Remove const into kvz_init_constraint. --- src/constraint.c | 2 +- src/constraint.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constraint.c b/src/constraint.c index 1abec967..d4f78dfa 100644 --- a/src/constraint.c +++ b/src/constraint.c @@ -26,7 +26,7 @@ * \param state encoder state * \return the pointer of constraint_t structure */ -void * kvz_init_constraint(encoder_state_t* state, encoder_control_t * const encoder) { +void * kvz_init_constraint(encoder_state_t* state, encoder_control_t * encoder) { constraint_t* constr = NULL; // Allocate the constraint_t strucutre constr = MALLOC(constraint_t, 1); diff --git a/src/constraint.h b/src/constraint.h index b01d6178..1af76834 100644 --- a/src/constraint.h +++ b/src/constraint.h @@ -34,7 +34,7 @@ typedef struct { } constraint_t; -void * kvz_init_constraint(encoder_state_t* state, encoder_control_t * const encoder); +void * kvz_init_constraint(encoder_state_t* state, encoder_control_t * encoder); void kvz_constraint_free(encoder_state_t* state); #endif \ No newline at end of file