projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Constness patrol
[pspp-builds.git]
/
src
/
data
/
data-in.c
diff --git
a/src/data/data-in.c
b/src/data/data-in.c
index b9907c2d7303069348a670320957ff099d10260a..d84b806a77003d364422716fe336d06ad5708831 100644
(file)
--- a/
src/data/data-in.c
+++ b/
src/data/data-in.c
@@
-795,7
+795,7
@@
parse_name_token (struct data_in *i)
exact matches (except for case) are allowed.
Returns true if successful, false otherwise. */
static bool
exact matches (except for case) are allowed.
Returns true if successful, false otherwise. */
static bool
-match_name (struct substring token, const char **names, long *output)
+match_name (struct substring token, const char *
const
*names, long *output)
{
int i;
{
int i;
@@
-824,14
+824,14
@@
parse_month (struct data_in *i, long *month)
}
else
{
}
else
{
- static const char *english_names[] =
+ static const char *
const
english_names[] =
{
"jan", "feb", "mar", "apr", "may", "jun",
"jul", "aug", "sep", "oct", "nov", "dec",
NULL,
};
{
"jan", "feb", "mar", "apr", "may", "jun",
"jul", "aug", "sep", "oct", "nov", "dec",
NULL,
};
- static const char *roman_names[] =
+ static const char *
const
roman_names[] =
{
"i", "ii", "iii", "iv", "v", "vi",
"vii", "viii", "ix", "x", "xi", "xii",
{
"i", "ii", "iii", "iv", "v", "vi",
"vii", "viii", "ix", "x", "xi", "xii",
@@
-1012,7
+1012,7
@@
parse_minute_second (struct data_in *i, double *time)
static bool
parse_weekday (struct data_in *i, long *weekday)
{
static bool
parse_weekday (struct data_in *i, long *weekday)
{
- static const char *weekday_names[] =
+ static const char *
const
weekday_names[] =
{
"su", "mo", "tu", "we", "th", "fr", "sa",
NULL,
{
"su", "mo", "tu", "we", "th", "fr", "sa",
NULL,