aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygthread.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-08-04 21:16:32 +0200
committerCorinna Vinschen <corinna@vinschen.de>2022-08-04 22:13:59 +0200
commitb28edc7b86c0b031c92ae9cd98c0c058f0b8aff3 (patch)
tree2c4581e42e99a8c3c3d98747f319d88f7e3f2978 /winsup/cygwin/cygthread.h
parent73aefcb5c23b9ca186746ad2df55f82741fff6bb (diff)
downloadnewlib-b28edc7b86c0b031c92ae9cd98c0c058f0b8aff3.zip
newlib-b28edc7b86c0b031c92ae9cd98c0c058f0b8aff3.tar.gz
newlib-b28edc7b86c0b031c92ae9cd98c0c058f0b8aff3.tar.bz2
Cygwin: drop all usages of WINAPI
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/cygthread.h')
-rw-r--r--winsup/cygwin/cygthread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/cygthread.h b/winsup/cygwin/cygthread.h
index ed57c93..241180f 100644
--- a/winsup/cygwin/cygthread.h
+++ b/winsup/cygwin/cygthread.h
@@ -7,7 +7,7 @@ details. */
#ifndef _CYGTHREAD_H
#define _CYGTHREAD_H
-typedef void WINAPI (*LPVOID_THREAD_START_ROUTINE) (void *) __attribute__((noreturn)); // Input queue thread
+typedef void (*LPVOID_THREAD_START_ROUTINE) (void *) __attribute__((noreturn)); // Input queue thread
class cygthread
{
@@ -32,8 +32,8 @@ class cygthread
static void CALLBACK async_create (ULONG_PTR);
public:
bool terminate_thread ();
- static DWORD WINAPI stub (VOID *);
- static DWORD WINAPI simplestub (VOID *);
+ static DWORD stub (VOID *);
+ static DWORD simplestub (VOID *);
static DWORD main_thread_id;
static const char *name (DWORD = 0);
void callfunc (bool) __attribute__ ((noinline, ));