aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-07-27 13:58:30 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-08-13 13:21:15 -0300
commit85465051e0e8a79c3c1df3187c2acaacb10d6232 (patch)
tree006b7e8d5c0db32c4af90c40dfbaf855ae2d90c2 /qerror.h
parentdcafd32348a08490cc378bfc50b260e5229ad738 (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qerror.h b/qerror.h
index 52ce58dbc2..2e6a49d3f3 100644
--- a/qerror.h
+++ b/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 {