projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aba872
)
(quotearg_n_options): Don't make the initial
author
Jim Meyering
<jim@meyering.net>
Mon, 31 Jul 2000 18:30:21 +0000
(18:30 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 31 Jul 2000 18:30:21 +0000
(18:30 +0000)
slot vector a constant, since it might get modified.
lib/quotearg.c
patch
|
blob
|
history
diff --git
a/lib/quotearg.c
b/lib/quotearg.c
index a9c9fe339cb2178ed09d23775e74519b64b9a67b..68458940af9847ea76a0b418e1c4a7ff1a5f0b8a 100644
(file)
--- a/
lib/quotearg.c
+++ b/
lib/quotearg.c
@@
-539,8
+539,8
@@
quotearg_n_options (int n, char const *arg,
size_t size;
char *val;
};
- static struct slotvec
const
slotvec0 = {sizeof slot0, slot0};
- static struct slotvec *slotvec =
(struct slotvec *)
&slotvec0;
+ static struct slotvec slotvec0 = {sizeof slot0, slot0};
+ static struct slotvec *slotvec = &slotvec0;
if (nslots <= n)
{