Added a missing const
git-svn-id: svn://svn.cc65.org/cc65/trunk@1045 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
5f577c4260
commit
24a70bbcce
2 changed files with 5 additions and 5 deletions
|
@ -147,7 +147,7 @@ void Fatal (const char* Format, ...)
|
||||||
/* Print a message about a fatal error and die */
|
/* Print a message about a fatal error and die */
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
const char* FileName;
|
const char* FileName;
|
||||||
unsigned LineNum;
|
unsigned LineNum;
|
||||||
if (CurTok.LI) {
|
if (CurTok.LI) {
|
||||||
|
@ -171,7 +171,7 @@ void Fatal (const char* Format, ...)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void Internal (char* Format, ...)
|
void Internal (const char* Format, ...)
|
||||||
/* Print a message about an internal compiler error and die. */
|
/* Print a message about an internal compiler error and die. */
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
@ -196,7 +196,7 @@ void Internal (char* Format, ...)
|
||||||
|
|
||||||
/* Use abort to create a core dump */
|
/* Use abort to create a core dump */
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -211,4 +211,4 @@ void ErrorReport (void)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ void PPError (const char* Format, ...) attribute ((format (printf, 1, 2)));
|
||||||
void Fatal (const char* Format, ...) attribute ((noreturn, format (printf, 1, 2)));
|
void Fatal (const char* Format, ...) attribute ((noreturn, format (printf, 1, 2)));
|
||||||
/* Print a message about a fatal error and die */
|
/* Print a message about a fatal error and die */
|
||||||
|
|
||||||
void Internal (char* Format, ...) attribute ((noreturn, format (printf, 1, 2)));
|
void Internal (const char* Format, ...) attribute ((noreturn, format (printf, 1, 2)));
|
||||||
/* Print a message about an internal compiler error and die. */
|
/* Print a message about an internal compiler error and die. */
|
||||||
|
|
||||||
void ErrorReport (void);
|
void ErrorReport (void);
|
||||||
|
|
Loading…
Add table
Reference in a new issue