ruby-changes:67584
From: Nobuyoshi <ko1@a...>
Date: Fri, 3 Sep 2021 22:50:47 +0900 (JST)
Subject: [ruby-changes:67584] c60a529543 (master): Get rid of duplicate typedef
https://git.ruby-lang.org/ruby.git/commit/?id=c60a529543 From c60a52954378a0e28ab0c05718c81a2bb1aeb7c6 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 3 Sep 2021 20:27:58 +0900 Subject: Get rid of duplicate typedef --- thread_win32.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thread_win32.h b/thread_win32.h index f0294ee..994949d 100644 --- a/thread_win32.h +++ b/thread_win32.h @@ -21,10 +21,10 @@ https://github.com/ruby/ruby/blob/trunk/thread_win32.h#L21 WINBASEAPI BOOL WINAPI TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection); -typedef struct rb_thread_cond_struct { +struct rb_thread_cond_struct { struct cond_event_entry *next; struct cond_event_entry *prev; -} rb_nativethread_cond_t; +}; typedef struct native_thread_data_struct { HANDLE interrupt_event; -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/