projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f69116
)
Remove const qualifiers from encoding converter components.
author
John Darrington
<john@darrington.wattle.id.au>
Fri, 16 Jul 2010 13:42:40 +0000
(15:42 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Fri, 16 Jul 2010 13:42:40 +0000
(15:42 +0200)
These elements have to be freed. Therefore const is not
appropriate.
src/libpspp/i18n.c
patch
|
blob
|
history
diff --git
a/src/libpspp/i18n.c
b/src/libpspp/i18n.c
index 340d71d776dcccc120891afac1ee09c36317614d..0e9b2b1b3863bf6326d238d7f9508aefb17f8894 100644
(file)
--- a/
src/libpspp/i18n.c
+++ b/
src/libpspp/i18n.c
@@
-42,9
+42,9
@@
#endif
struct converter
-
{
- c
onst c
har *tocode;
- c
onst c
har *fromcode;
+ {
+ char *tocode;
+ char *fromcode;
iconv_t conv;
};