X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Foutput%2Fcsv.c;h=e6b769b383039c740abdb9c5321c86b5d889724a;hb=95cde62bdf5210c1c60dad5598a888b864f93161;hp=e63e828d4e7daf219a231fcb996220578d93d265;hpb=9c607eb8737f25e44121450527ab50a315841580;p=pspp diff --git a/src/output/csv.c b/src/output/csv.c index e63e828d4e..e6b769b383 100644 --- a/src/output/csv.c +++ b/src/output/csv.c @@ -65,15 +65,15 @@ csv_driver_cast (struct output_driver *driver) return UP_CAST (driver, struct csv_driver, driver); } -static struct driver_option * -opt (struct string_map *options, const char *key, const char *default_value) +static struct driver_option +opt (struct driver_options *options, const char *key, const char *default_value) { - return driver_option_get ("csv", options, key, default_value); + return driver_option_get (options, key, default_value); } static struct output_driver * csv_create (struct file_handle *fh, enum settings_output_devices device_type, - struct string_map *o) + struct driver_options *o) { FILE *file = fn_open (fh, "w"); if (!file)