struct outdesc;
/* Type of the function that is called to output data */
-typedef void (*outfunc) (struct outdesc* desc, char* buf, unsigned count);
+typedef void (*outfunc) (struct outdesc* desc, const char* buf, unsigned count);
/* For memory efficiency use a separate empty string */
-static const char EmptyString [] = "";
+static char EmptyString [] = "";
-static const struct lconv lc = {
+static struct lconv lc = {
EmptyString, /* currency_symbol */
".", /* decimal_point */
EmptyString, /* grouping */
-static void out (struct outdesc* d, char* buf, unsigned count)
+static void out (struct outdesc* d, const char* buf, unsigned count)
/* Routine used for writing */
{
/* Fast screen output */
-static void out (struct outdesc* d, char* buf, unsigned count)
+static void out (struct outdesc* d, const char* buf, unsigned count)
/* Routine used for writing */
{
/* Write to the file */
-
+
-static void out (struct outdesc* d, char* buf, unsigned count)
+static void out (struct outdesc* d, const char* buf, unsigned count)
/* Routine used for writing */
{
/* String - be shure to check the size */