mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-28 03:06:20 -04:00
[intl] Warning when compiled without nls
This commit is contained in:
parent
73c632f00c
commit
8f73247158
@ -38,9 +38,9 @@ extern "C" {
|
|||||||
/* In order to make it able to compile using -Werror this has to be a function
|
/* In order to make it able to compile using -Werror this has to be a function
|
||||||
* so that local @term variables will not be reported as unused. */
|
* so that local @term variables will not be reported as unused. */
|
||||||
static inline char *
|
static inline char *
|
||||||
_(char *msg, struct terminal *term)
|
_(const char *msg, struct terminal *term)
|
||||||
{
|
{
|
||||||
return gettext_noop(msg);
|
return (char *)gettext_noop(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline char *
|
static inline char *
|
||||||
|
Loading…
Reference in New Issue
Block a user