1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +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:
cuz 2000-08-14 22:16:40 +00:00
parent 84f74b4393
commit dcc0fe91a2
5 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -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 */

View 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 */
{
/* Fast screen output */

View 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 */
{
/* Write to the file */
@ -42,4 +42,4 @@ int vfprintf (FILE* f, const char* format, va_list ap)

View 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 */
{
/* String - be shure to check the size */