diff options
author | Luiz Capitulino | 2012-07-27 18:58:30 +0200 |
---|---|---|
committer | Luiz Capitulino | 2012-08-13 18:21:15 +0200 |
commit | 85465051e0e8a79c3c1df3187c2acaacb10d6232 (patch) | |
tree | 006b7e8d5c0db32c4af90c40dfbaf855ae2d90c2 /qerror.h | |
parent | qapi-schema: add ErrorClass enum (diff) | |
download | qemu-85465051e0e8a79c3c1df3187c2acaacb10d6232.tar.gz qemu-85465051e0e8a79c3c1df3187c2acaacb10d6232.tar.xz qemu-85465051e0e8a79c3c1df3187c2acaacb10d6232.zip |
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>
Diffstat (limited to 'qerror.h')
-rw-r--r-- | qerror.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,8 +19,8 @@ #include <stdarg.h> typedef struct QErrorStringTable { - const char *desc; const char *error_fmt; + const char *desc; } QErrorStringTable; typedef struct QError { |