xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/uim/uim/JMP_BUF_GC_jmp_buf.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Fix error pointed out by gcc10
2
3Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5--- a/sigscheme/libgcroots/include/private/gc_priv.h
6+++ b/sigscheme/libgcroots/include/private/gc_priv.h
7@@ -2026,7 +2026,7 @@ void GC_err_puts(const char *s);
8
9 # if defined(NEED_FIND_LIMIT) || \
10      defined(USE_PROC_FOR_LIBRARIES) && defined(THREADS)
11-JMP_BUF GC_jmp_buf;
12+extern JMP_BUF GC_jmp_buf;
13
14 /* Set up a handler for address faults which will longjmp to	*/
15 /* GC_jmp_buf;							*/
16