mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 02:30:44 +00:00
Several type qualifier fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@283 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
84f74b4393
commit
dcc0fe91a2
@ -16,7 +16,7 @@
|
|||||||
struct outdesc;
|
struct outdesc;
|
||||||
|
|
||||||
/* Type of the function that is called to output data */
|
/* 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);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
/* For memory efficiency use a separate empty string */
|
/* 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 */
|
EmptyString, /* currency_symbol */
|
||||||
".", /* decimal_point */
|
".", /* decimal_point */
|
||||||
EmptyString, /* grouping */
|
EmptyString, /* grouping */
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
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 */
|
/* Routine used for writing */
|
||||||
{
|
{
|
||||||
/* Fast screen output */
|
/* Fast screen output */
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
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 */
|
/* Routine used for writing */
|
||||||
{
|
{
|
||||||
/* Write to the file */
|
/* Write to the file */
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
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 */
|
/* Routine used for writing */
|
||||||
{
|
{
|
||||||
/* String - be shure to check the size */
|
/* String - be shure to check the size */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user