X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Ferror.c;h=cba0a479e97ecb2dca7979037abf8696655a93c7;hb=92dfde6c4e748946c5e13323bb48bf2abd72c2b3;hp=b61312855cf0411839ea92f834cc57ad6a8304c5;hpb=0e80187cec763daaf02a3dae725233c6885cf41a;p=cc65 diff --git a/src/cc65/error.c b/src/cc65/error.c index b61312855..cba0a479e 100644 --- a/src/cc65/error.c +++ b/src/cc65/error.c @@ -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) - +