mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
qerror: qerror_table: don't use C99 struct initializers
This allows for changing QERR_ macros to initialize two struct members at the same time. See next commit for more details. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
dcafd32348
commit
85465051e0
2 changed files with 139 additions and 139 deletions
2
qerror.h
2
qerror.h
|
@ -19,8 +19,8 @@
|
|||
#include <stdarg.h>
|
||||
|
||||
typedef struct QErrorStringTable {
|
||||
const char *desc;
|
||||
const char *error_fmt;
|
||||
const char *desc;
|
||||
} QErrorStringTable;
|
||||
|
||||
typedef struct QError {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue