Commit 961bdbdfacf4e965216d61fbc9f778c089c2e78a

Patrick Steinhardt 2016-06-20T18:28:00

threads: remove now-useless typedefs

diff --git a/src/win32/pthread.h b/src/win32/pthread.h
index 821bb64..977d2df 100644
--- a/src/win32/pthread.h
+++ b/src/win32/pthread.h
@@ -23,11 +23,6 @@ typedef struct {
 	void *result;
 } git_thread;
 
-typedef int pthread_mutexattr_t;
-typedef int pthread_condattr_t;
-typedef int pthread_attr_t;
-typedef int pthread_rwlockattr_t;
-
 typedef CRITICAL_SECTION git_mutex;
 typedef HANDLE git_cond;
 
@@ -40,8 +35,6 @@ typedef struct {
 	} native;
 } git_rwlock;
 
-#define PTHREAD_MUTEX_INITIALIZER  {(void*)-1}
-
 int git_thread_create(git_thread *GIT_RESTRICT,
 	void *(*) (void *),
 	void *GIT_RESTRICT);