format: Remove prototypes of unimplemented functions.
[pspp] / src / libpspp / i18n.c
index 340d71d776dcccc120891afac1ee09c36317614d..02aefb5b51256d201bde172a60bc4b100ccae7f8 100644 (file)
@@ -42,9 +42,9 @@
 #endif
 
 struct converter
 {
-    const char *tocode;
-    const char *fromcode;
+ {
+    char *tocode;
+    char *fromcode;
     iconv_t conv;
   };
 
@@ -177,7 +177,7 @@ recode_string_pool (const char *to, const char *from,
              }
            /* Fall through */
          case E2BIG:
-           free (outbuf);
+           pool_free (pool, outbuf);
            outbufferlength <<= 1;
            outbuf = pool_malloc (pool, outbufferlength);
            op = outbuf;