diff --git a/src/gui/util/qedidvendortable_p.h b/src/gui/util/qedidvendortable_p.h index d5b86833f4e..3fa471f573c 100644 --- a/src/gui/util/qedidvendortable_p.h +++ b/src/gui/util/qedidvendortable_p.h @@ -60,10 +60,10 @@ QT_BEGIN_NAMESPACE -typedef struct VendorTable { +struct VendorTable { const char id[4]; const char name[78]; -} VendorTable; +}; static const struct VendorTable q_edidVendorTable[] = { { "AAA", "Avolites Ltd" }, diff --git a/util/edid/qedidvendortable.py b/util/edid/qedidvendortable.py index 39f60c0e906..3d676662380 100755 --- a/util/edid/qedidvendortable.py +++ b/util/edid/qedidvendortable.py @@ -98,12 +98,12 @@ header = """ QT_BEGIN_NAMESPACE -typedef struct VendorTable { +struct VendorTable { const char id[4]; const char name[%d]; -} VendorTable; +}; -static const struct VendorTable q_edidVendorTable[] = {""" +static const VendorTable q_edidVendorTable[] = {""" footer = """};