X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsys-file-writer.c;h=c5392666ff9d441d33b139c688d1a77b638e42b8;hb=cc6a060446e71cace2d828a864c85702e04aba7c;hp=fd663d69b5bc7532d98412eeebf865dcd41d61fa;hpb=91dc088ddff7486a9d7bdc397761f6b0bcecf41c;p=pspp-builds.git diff --git a/src/data/sys-file-writer.c b/src/data/sys-file-writer.c index fd663d69..c5392666 100644 --- a/src/data/sys-file-writer.c +++ b/src/data/sys-file-writer.c @@ -90,7 +90,7 @@ struct sfm_writer for long string variables. */ }; -static struct casewriter_class sys_file_casewriter_class; +static const struct casewriter_class sys_file_casewriter_class; static void write_header (struct sfm_writer *, const struct dictionary *); static void write_variable (struct sfm_writer *, const struct variable *); @@ -751,7 +751,7 @@ close_writer (struct sfm_writer *w) } /* System file writer casewriter class. */ -static struct casewriter_class sys_file_casewriter_class = +static const struct casewriter_class sys_file_casewriter_class = { sys_file_casewriter_write, sys_file_casewriter_destroy,