X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fspreadsheet-reader.h;h=0f0819b249bbdf6633acbf65949db236611188bc;hb=958e78555714e9f1847513f9cc576fa2cd7a6769;hp=c03cf71642135f0ef12331e247a4fe44d58fb9a7;hpb=5539849055ad928f536d192561cbbaab3b926180;p=pspp diff --git a/src/data/spreadsheet-reader.h b/src/data/spreadsheet-reader.h index c03cf71642..0f0819b249 100644 --- a/src/data/spreadsheet-reader.h +++ b/src/data/spreadsheet-reader.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2007, 2010, 2016 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -66,8 +66,9 @@ struct spreadsheet /* The total number of sheets in the "workbook" */ int n_sheets; - /* The dictionary */ - struct dictionary *dict; + /* The dictionary for client's reference. + Client must clone if it needs a permanent or modifiable copy. */ + const struct dictionary *dict; int ref_cnt; };