mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Make errfile point to const.
This commit is contained in:
parent
ef96caad01
commit
251dcb7f9f
@ -52,7 +52,7 @@ er(int bell, int shall_sleep, unsigned char *fmt, va_list params)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int errline;
|
int errline;
|
||||||
unsigned char *errfile;
|
const unsigned char *errfile;
|
||||||
|
|
||||||
void
|
void
|
||||||
elinks_debug(unsigned char *fmt, ...)
|
elinks_debug(unsigned char *fmt, ...)
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/* This errfile thing is needed, as we don't have var-arg macros in standart,
|
/* This errfile thing is needed, as we don't have var-arg macros in standart,
|
||||||
* only as gcc extension :(. */
|
* only as gcc extension :(. */
|
||||||
extern int errline;
|
extern int errline;
|
||||||
extern unsigned char *errfile;
|
extern const unsigned char *errfile;
|
||||||
|
|
||||||
/* @DBG(format_string) is used for printing of debugging information. It
|
/* @DBG(format_string) is used for printing of debugging information. It
|
||||||
* should not be used anywhere in the official codebase (although it is often
|
* should not be used anywhere in the official codebase (although it is often
|
||||||
|
Loading…
Reference in New Issue
Block a user