summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/osdmini
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/osdmini')
-rw-r--r--src/osd/osdmini/minimisc.cpp4
-rw-r--r--src/osd/osdmini/minisync.cpp66
2 files changed, 1 insertions, 69 deletions
diff --git a/src/osd/osdmini/minimisc.cpp b/src/osd/osdmini/minimisc.cpp
index 2bf613b0b7c..9891447359b 100644
--- a/src/osd/osdmini/minimisc.cpp
+++ b/src/osd/osdmini/minimisc.cpp
@@ -103,11 +103,9 @@ int osd_setenv(const char *name, const char *value, int overwrite)
//============================================================
// osd_subst_env
//============================================================
-int osd_subst_env(char **dst, const char *src)
+void osd_subst_env(char **dst, const char *src)
{
*dst = (char *)osd_malloc_array(strlen(src) + 1);
if (*dst != nullptr)
strcpy(*dst, src);
-
- return 0;
}
diff --git a/src/osd/osdmini/minisync.cpp b/src/osd/osdmini/minisync.cpp
deleted file mode 100644
index a78765f29ed..00000000000
--- a/src/osd/osdmini/minisync.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Aaron Giles
-//============================================================
-//
-// minisync.c - Minimal core synchronization functions
-//
-//============================================================
-
-#include "osdcore.h"
-
-
-//============================================================
-// osd_lock_alloc
-//============================================================
-
-osd_lock *osd_lock_alloc(void)
-{
- // the minimal implementation does not support threading
- // just return a dummy value here
- return (osd_lock *)1;
-}
-
-
-//============================================================
-// osd_lock_acquire
-//============================================================
-
-void osd_lock_acquire(osd_lock *lock)
-{
- // the minimal implementation does not support threading
- // the acquire always "succeeds"
-}
-
-
-//============================================================
-// osd_lock_try
-//============================================================
-
-int osd_lock_try(osd_lock *lock)
-{
- // the minimal implementation does not support threading
- // the acquire always "succeeds"
- return TRUE;
-}
-
-
-//============================================================
-// osd_lock_release
-//============================================================
-
-void osd_lock_release(osd_lock *lock)
-{
- // the minimal implementation does not support threading
- // do nothing here
-}
-
-
-//============================================================
-// osd_lock_free
-//============================================================
-
-void osd_lock_free(osd_lock *lock)
-{
- // the minimal implementation does not support threading
- // do nothing here
-}