1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-04 13:29:35 +00:00

Type qualifier fixes

git-svn-id: svn://svn.cc65.org/cc65/trunk@282 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2000-08-14 21:50:56 +00:00
parent 4f8a02e253
commit 84f74b4393
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
int _printf (struct outdesc* d, char* f, va_list ap)
int _printf (struct outdesc* d, const char* f, va_list ap)
{
outfunc fout; /* Output function */
unsigned char type; /* variable argument type */
@ -39,7 +39,7 @@ int _printf (struct outdesc* d, char* f, va_list ap)
register char* s; /* work pointer to argument string */
/* Remember the format string in a register variable for shorter code */
register char* format = f;
register const char* format = f;
/* Remember the output function in a local variable for speed and size */
fout = d->fout;

View File

@ -30,7 +30,7 @@ struct outdesc {
/* Internal formatting routine */
int _printf (struct outdesc* d, char* format, va_list ap);
int _printf (struct outdesc* d, const char* format, va_list ap);