Skip to content

Commit

Permalink
use public struct
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Oct 20, 2024
1 parent 3f4cd77 commit c7de7c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 4 additions & 1 deletion include/re_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
#else

#if defined(WIN32)
struct thrd_win32;
struct thrd_win32 {
HANDLE hdl;
uint32_t id;
};

#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
Expand Down
4 changes: 0 additions & 4 deletions src/thread/win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ struct thread {
void *arg;
};

struct thrd_win32 {
HANDLE hdl;
uint32_t id;
};

static int dtor_register(tss_t key, tss_dtor_t dtor)
{
Expand Down

0 comments on commit c7de7c0

Please sign in to comment.