Remove unused declarations (mono/mono#15907)
authorcoypoop <coypu@sdf.org>
Wed, 31 Jul 2019 12:16:37 +0000 (12:16 +0000)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 31 Jul 2019 12:16:37 +0000 (14:16 +0200)
Commit migrated from https://github.com/mono/mono/commit/a65eec76be06778c355e2a74fc36cfa4e241a37a

src/mono/mono/metadata/sgen-client-mono.h

index 92d4e56..0023ece 100644 (file)
@@ -716,12 +716,6 @@ sgen_client_binary_protocol_ephemeron_ref (gpointer list, gpointer key, gpointer
 
 guint64 mono_time_since_last_stw (void);
 
-typedef MonoSemType SgenSemaphore;
-
-#define SGEN_SEMAPHORE_INIT(sem,initial)       mono_os_sem_init ((sem), (initial))
-#define SGEN_SEMAPHORE_POST(sem)               mono_os_sem_post ((sem))
-#define SGEN_SEMAPHORE_WAIT(sem)               mono_os_sem_wait ((sem), MONO_SEM_FLAGS_NONE)
-
 gboolean sgen_has_critical_method (void);
 gboolean sgen_is_critical_method (MonoMethod *method);