Commit 2cfa73c
committed
tests: suppress -Wmissing-variable-declarations in viewer test stubs
Add extern forward declarations for global linker stub variables
(mc_skin_color__cache, mc_editor_plugin_list, we_are_strstrstrbackground)
to satisfy -Wmissing-variable-declarations. These variables must remain
non-static as they are referenced by name from libinternal.a objects.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>1 parent d494820 commit 2cfa73c
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
50 | | - | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
| |||
0 commit comments