1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-29 01:45:34 +00: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:
Felix Janda 2020-08-02 17:42:47 -04:00
parent 53002765c4
commit f88e7c6081

View File

@ -21,7 +21,7 @@ struct session;
#define RB_ERRINFO (ruby_errinfo)
#endif
VALUE erb_module;
extern VALUE erb_module;
void alert_ruby_error(struct session *ses, unsigned char *msg);
void erb_report_error(struct session *ses, int state);