#!/bin/sh
-# CVS-ID: $Id$
echo " * compiling C source generator..."
/*
* This file is #included by encconv.cpp
*
- * CVS-ID: \$Id\$
*
* *** *** CAUTION! *** ***
* Do not modify this file by hand! It is generated by shell
*
*/
-static struct {
+static const struct {
wxUint16 c /*code*/;
wxUint8 s /*inaccurate substitution*/;
} encoding_unicode_fallback[] = {
echo " {0, 0}" >> unictabl.inc
echo " };" >> unictabl.inc
echo "
-static unsigned encoding_unicode_fallback_count = "`cat Fallbacks | wc -l`";" >> unictabl.inc
+static const unsigned encoding_unicode_fallback_count = "`cat Fallbacks | wc -l`";" >> unictabl.inc
echo " * adding reference table..."
*
*/
-static struct {
+static const struct {
wxFontEncoding encoding; // encoding identifier
- wxUint16 *table; // 8bit to unicode table
+ const wxUint16 *table; // 8bit to unicode table
} encodings_list[] = {
" >> unictabl.inc