From: Ben Pfaff Date: Wed, 3 Feb 2010 04:26:55 +0000 (-0800) Subject: datasheet-test: Make variable "const". X-Git-Tag: v0.7.4~19 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=926721ae24e27751fede753841c7dae7c7df9306;p=pspp-builds.git datasheet-test: Make variable "const". --- diff --git a/tests/data/datasheet-test.c b/tests/data/datasheet-test.c index c46c2683..98be04fe 100644 --- a/tests/data/datasheet-test.c +++ b/tests/data/datasheet-test.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2010 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 @@ -748,7 +748,7 @@ enum N_DATASHEET_OPTIONS }; -static struct argv_option datasheet_argv_options[N_DATASHEET_OPTIONS] = +static const struct argv_option datasheet_argv_options[N_DATASHEET_OPTIONS] = { {"max-rows", 0, required_argument, OPT_MAX_ROWS}, {"max-columns", 0, required_argument, OPT_MAX_COLUMNS},