mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Fix compilation with gcc-10
Fixes the errors x86_64-pc-linux-gnu-ld: hooks.o:(.bss+0x0): multiple definition of `erb_module'; core.o:(.bss+0x0): first defined here x86_64-pc-linux-gnu-ld: ruby.o:(.bss+0x0): multiple definition of `erb_module'; core.o:(.bss+0x0): first defined here Bug: https://bugs.gentoo.org/730658
This commit is contained in:
parent
53002765c4
commit
f88e7c6081
@ -21,7 +21,7 @@ struct session;
|
|||||||
#define RB_ERRINFO (ruby_errinfo)
|
#define RB_ERRINFO (ruby_errinfo)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
VALUE erb_module;
|
extern VALUE erb_module;
|
||||||
|
|
||||||
void alert_ruby_error(struct session *ses, unsigned char *msg);
|
void alert_ruby_error(struct session *ses, unsigned char *msg);
|
||||||
void erb_report_error(struct session *ses, int state);
|
void erb_report_error(struct session *ses, int state);
|
||||||
|
Loading…
Reference in New Issue
Block a user