This repository was archived by the owner on Sep 15, 2025. It is now read-only.
Commit c86f05d
committed
jabber_http_file_upload: fix build with gcc 10
With GCC 10, `HFUJabberStreamDataTable` being declared in a header file
leads to the creation of 2 objects with that name: one when compiling
`hfu_disco.c`, the other one when compiling `jabber_http_file_upload.c`.
This results in link-time errors, which can be fixed by declaring
`HFUJabberStreamDataTable` as `extern`.1 parent aac06a4 commit c86f05d
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments