1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-23 09:29:34 +00:00

Added a missing const

git-svn-id: svn://svn.cc65.org/cc65/trunk@1045 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-10-12 18:21:43 +00:00
parent 5f577c4260
commit 24a70bbcce
2 changed files with 5 additions and 5 deletions

View File

@ -147,7 +147,7 @@ void Fatal (const char* Format, ...)
/* Print a message about a fatal error and die */
{
va_list ap;
const char* FileName;
unsigned LineNum;
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. */
{
va_list ap;
@ -196,7 +196,7 @@ void Internal (char* Format, ...)
/* Use abort to create a core dump */
abort ();
}
}
@ -211,4 +211,4 @@ void ErrorReport (void)

View File

@ -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)));
/* 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. */
void ErrorReport (void);