diff --git a/src/emu/memory.h b/src/emu/memory.h index 739bf72baa7..ff02476fc7f 100644 --- a/src/emu/memory.h +++ b/src/emu/memory.h @@ -40,7 +40,7 @@ enum address_spacenum AS_IO = AS_2, // I/O address space AS_DECRYPTED_OPCODES = AS_3 // decrypted opcodes, when separate from data accesses }; -DECLARE_ENUM_OPERATORS(address_spacenum); +DECLARE_ENUM_OPERATORS(address_spacenum) // read or write constants enum read_or_write diff --git a/src/emu/profiler.h b/src/emu/profiler.h index 25cd2b4d7ce..ceb1afee877 100644 --- a/src/emu/profiler.h +++ b/src/emu/profiler.h @@ -71,7 +71,7 @@ enum profile_type PROFILER_IDLE, PROFILER_TOTAL }; -DECLARE_ENUM_OPERATORS(profile_type); +DECLARE_ENUM_OPERATORS(profile_type) diff --git a/src/emu/rendlay.h b/src/emu/rendlay.h index a288e0ab09d..068fc5cfec0 100644 --- a/src/emu/rendlay.h +++ b/src/emu/rendlay.h @@ -29,7 +29,7 @@ enum item_layer ITEM_LAYER_MARQUEE, ITEM_LAYER_MAX }; -DECLARE_ENUM_OPERATORS(item_layer); +DECLARE_ENUM_OPERATORS(item_layer) diff --git a/src/emu/save.h b/src/emu/save.h index c2d4e0bd6c1..85bb660540c 100644 --- a/src/emu/save.h +++ b/src/emu/save.h @@ -190,22 +190,22 @@ private: // template specializations to enumerate the fundamental atomic types you are allowed to save -ALLOW_SAVE_TYPE_AND_ARRAY(char); +ALLOW_SAVE_TYPE_AND_ARRAY(char) ALLOW_SAVE_TYPE (bool); // std::vector may be packed internally -ALLOW_SAVE_TYPE_AND_ARRAY(INT8); -ALLOW_SAVE_TYPE_AND_ARRAY(UINT8); -ALLOW_SAVE_TYPE_AND_ARRAY(INT16); -ALLOW_SAVE_TYPE_AND_ARRAY(UINT16); -ALLOW_SAVE_TYPE_AND_ARRAY(INT32); -ALLOW_SAVE_TYPE_AND_ARRAY(UINT32); -ALLOW_SAVE_TYPE_AND_ARRAY(INT64); -ALLOW_SAVE_TYPE_AND_ARRAY(UINT64); -ALLOW_SAVE_TYPE_AND_ARRAY(PAIR); -ALLOW_SAVE_TYPE_AND_ARRAY(PAIR64); -ALLOW_SAVE_TYPE_AND_ARRAY(float); -ALLOW_SAVE_TYPE_AND_ARRAY(double); -ALLOW_SAVE_TYPE_AND_ARRAY(endianness_t); -ALLOW_SAVE_TYPE_AND_ARRAY(rgb_t); +ALLOW_SAVE_TYPE_AND_ARRAY(INT8) +ALLOW_SAVE_TYPE_AND_ARRAY(UINT8) +ALLOW_SAVE_TYPE_AND_ARRAY(INT16) +ALLOW_SAVE_TYPE_AND_ARRAY(UINT16) +ALLOW_SAVE_TYPE_AND_ARRAY(INT32) +ALLOW_SAVE_TYPE_AND_ARRAY(UINT32) +ALLOW_SAVE_TYPE_AND_ARRAY(INT64) +ALLOW_SAVE_TYPE_AND_ARRAY(UINT64) +ALLOW_SAVE_TYPE_AND_ARRAY(PAIR) +ALLOW_SAVE_TYPE_AND_ARRAY(PAIR64) +ALLOW_SAVE_TYPE_AND_ARRAY(float) +ALLOW_SAVE_TYPE_AND_ARRAY(double) +ALLOW_SAVE_TYPE_AND_ARRAY(endianness_t) +ALLOW_SAVE_TYPE_AND_ARRAY(rgb_t) diff --git a/src/osd/modules/lib/osdobj_common.c b/src/osd/modules/lib/osdobj_common.c index 1f37c0a335c..39767eb6210 100644 --- a/src/osd/modules/lib/osdobj_common.c +++ b/src/osd/modules/lib/osdobj_common.c @@ -145,7 +145,7 @@ osd_options::osd_options() : cli_options() { add_entries(osd_options::s_option_entries); -}; +} //------------------------------------------------- diff --git a/src/osd/modules/render/d3d/d3d9intf.c b/src/osd/modules/render/d3d/d3d9intf.c index 7a35d0ad577..f6ed962e5f6 100644 --- a/src/osd/modules/render/d3d/d3d9intf.c +++ b/src/osd/modules/render/d3d/d3d9intf.c @@ -623,4 +623,4 @@ static void set_interfaces(base *d3dptr) d3dptr->vertexbuf = d3d9_vertex_buffer_interface; } -}; +} diff --git a/src/osd/modules/render/d3d/d3dcomm.h b/src/osd/modules/render/d3d/d3dcomm.h index 399df12ad00..58a51eaf1cf 100644 --- a/src/osd/modules/render/d3d/d3dcomm.h +++ b/src/osd/modules/render/d3d/d3dcomm.h @@ -219,7 +219,7 @@ private: float m_prim_height; // used by quads }; -}; // d3d +} // d3d /* vertex describes a single vertex */ struct vertex diff --git a/src/osd/modules/render/d3d/d3dhlsl.c b/src/osd/modules/render/d3d/d3dhlsl.c index f6468144803..1f244bf2184 100644 --- a/src/osd/modules/render/d3d/d3dhlsl.c +++ b/src/osd/modules/render/d3d/d3dhlsl.c @@ -3405,7 +3405,7 @@ ULONG effect::release() return m_effect->Release(); } -}; +} //============================================================ // get_slider_list diff --git a/src/osd/modules/render/d3d/d3dhlsl.h b/src/osd/modules/render/d3d/d3dhlsl.h index afb760669f3..df4d00de094 100644 --- a/src/osd/modules/render/d3d/d3dhlsl.h +++ b/src/osd/modules/render/d3d/d3dhlsl.h @@ -420,6 +420,6 @@ public: static hlsl_options s_hlsl_presets[4]; }; -}; +} #endif diff --git a/src/osd/modules/render/d3d/d3dintf.h b/src/osd/modules/render/d3d/d3dintf.h index 063eb5ff158..9155f620545 100644 --- a/src/osd/modules/render/d3d/d3dintf.h +++ b/src/osd/modules/render/d3d/d3dintf.h @@ -229,6 +229,6 @@ struct base base *drawd3d9_init(void); -}; +} #endif diff --git a/src/osd/modules/render/drawd3d.c b/src/osd/modules/render/drawd3d.c index 0b1caaeee2a..8057581d61f 100644 --- a/src/osd/modules/render/drawd3d.c +++ b/src/osd/modules/render/drawd3d.c @@ -2929,4 +2929,4 @@ bool render_target::init(renderer *d3d, base *d3dintf, int width, int height, in return true; } -}; +} diff --git a/src/osd/modules/render/drawd3d.h b/src/osd/modules/render/drawd3d.h index 20c4eb0d0fd..e736b0e45cd 100644 --- a/src/osd/modules/render/drawd3d.h +++ b/src/osd/modules/render/drawd3d.h @@ -227,6 +227,6 @@ private: int m_line_count; }; -}; +} #endif