mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Use gcc warning flag -Wnested-externs
If the compiler supports the warning flag -Wnested-externs, use it. Avoid the only warning by moving the declaration of xml_builtin to a more proper place. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
3ffd710e12
commit
0b65b9e105
4 changed files with 4 additions and 3 deletions
|
@ -1504,7 +1504,6 @@ static int memtox(char *buf, const char *mem, int len)
|
|||
|
||||
static const char *get_feature_xml(const char *p, const char **newp)
|
||||
{
|
||||
extern const char *const xml_builtin[][2];
|
||||
size_t len;
|
||||
int i;
|
||||
const char *name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue