mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +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;
|
||||
|
||||
/* 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 */
|
||||
static const char EmptyString [] = "";
|
||||
static char EmptyString [] = "";
|
||||
|
||||
static const struct lconv lc = {
|
||||
static struct lconv lc = {
|
||||
EmptyString, /* currency_symbol */
|
||||
".", /* decimal_point */
|
||||
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 */
|
||||
{
|
||||
/* 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 */
|
||||
{
|
||||
/* Write to the file */
|
||||
@ -42,4 +42,4 @@ int vfprintf (FILE* f, const char* format, va_list ap)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -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 */
|
||||
{
|
||||
/* String - be shure to check the size */
|
||||
|
Loading…
Reference in New Issue
Block a user