diff options
author | 2020-01-31 02:01:48 +0100 | |
---|---|---|
committer | 2020-01-30 20:01:48 -0500 | |
commit | 059243f68ec0c2e327a3105a9480f50e5e0b4abf (patch) | |
tree | cbf132320ebc93ae4c58d60fd3a5ed834c2e8862 /src/osd/osdsync.cpp | |
parent | 06ecc1ca0d96a7d9cc66aab6a5aa8b8f0265fa09 (diff) |
fixed some clang-tidy warnings (nw) (#6236)
* fixed some modernize-redundant-void-arg clang-tidy warnings (nw)
* fixed some modernize-use-bool-literals clang-tidy warnings (nw)
* fixed some modernize-use-emplace clang-tidy warnings (nw)
* fixed some performance-move-const-arg clang-tidy warnings (nw)
* fixed some readability-redundant-control-flow clang-tidy warnings (nw)
* fixed some readability-redundant-string-cstr clang-tidy warnings (nw)
* fixed some performance-unnecessary-value-param clang-tidy warnings (nw)
Diffstat (limited to 'src/osd/osdsync.cpp')
-rw-r--r-- | src/osd/osdsync.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/osdsync.cpp b/src/osd/osdsync.cpp index 6e368eeb366..18b999201c4 100644 --- a/src/osd/osdsync.cpp +++ b/src/osd/osdsync.cpp @@ -85,7 +85,7 @@ static void spin_while_not(const volatile _AtomType * volatile atom, const _Main // osd_num_processors //============================================================ -int osd_get_num_processors(void) +int osd_get_num_processors() { #if defined(SDLMAME_EMSCRIPTEN) // multithreading is not supported at this time @@ -211,7 +211,7 @@ int osd_num_processors = 0; // FUNCTION PROTOTYPES //============================================================ -static int effective_num_processors(void); +static int effective_num_processors(); static void * worker_thread_entry(void *param); static void worker_thread_process(osd_work_queue *queue, work_thread_info *thread); static bool queue_has_list_items(osd_work_queue *queue); @@ -639,7 +639,7 @@ void osd_work_item_release(osd_work_item *item) // effective_num_processors //============================================================ -static int effective_num_processors(void) +static int effective_num_processors() { int physprocs = osd_get_num_processors(); |