1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-30 03:26:23 -04:00

Make errfile point to const.

This commit is contained in:
Kalle Olavi Niemitalo 2007-01-02 21:22:51 +02:00 committed by Kalle Olavi Niemitalo
parent ef96caad01
commit 251dcb7f9f
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ er(int bell, int shall_sleep, unsigned char *fmt, va_list params)
}
int errline;
unsigned char *errfile;
const unsigned char *errfile;
void
elinks_debug(unsigned char *fmt, ...)

View File

@ -11,7 +11,7 @@
/* This errfile thing is needed, as we don't have var-arg macros in standart,
* only as gcc extension :(. */
extern int errline;
extern unsigned char *errfile;
extern const unsigned char *errfile;
/* @DBG(format_string) is used for printing of debugging information. It
* should not be used anywhere in the official codebase (although it is often