aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/iso6937.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/iso6937.c')
-rw-r--r--iconvdata/iso6937.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/iconvdata/iso6937.c b/iconvdata/iso6937.c
index 01080360bb..377eef5afc 100644
--- a/iconvdata/iso6937.c
+++ b/iconvdata/iso6937.c
@@ -387,7 +387,7 @@ struct iso6937_data
int
-gconv_init (struct gconv_step *step, struct gconv_step_data *data)
+gconv_init (struct gconv_step *step)
{
/* Determine which direction. */
struct iso6937_data *new_data;
@@ -408,7 +408,7 @@ gconv_init (struct gconv_step *step, struct gconv_step_data *data)
!= NULL))
{
new_data->dir = dir;
- data->data = new_data;
+ step->data = new_data;
result = GCONV_OK;
}
@@ -417,7 +417,7 @@ gconv_init (struct gconv_step *step, struct gconv_step_data *data)
void
-gconv_end (struct gconv_step_data *data)
+gconv_end (struct gconv_step *data)
{
free (data->data);
}
@@ -456,7 +456,7 @@ gconv (struct gconv_step *step, struct gconv_step_data *data,
}
else
{
- enum direction dir = ((struct iso6937_data *) data->data)->dir;
+ enum direction dir = ((struct iso6937_data *) step->data)->dir;
do_write = 0;