]> git.proxmox.com Git - libgit2.git/commitdiff
threads: remove now-useless typedefs
authorPatrick Steinhardt <ps@pks.im>
Mon, 20 Jun 2016 16:28:00 +0000 (18:28 +0200)
committerPatrick Steinhardt <ps@pks.im>
Mon, 20 Jun 2016 17:50:16 +0000 (19:50 +0200)
src/win32/pthread.h

index 821bb64ee3d2afeb80945aa4b8b18bec206f32d2..977d2dfab0dd908328d12e179851c5773d20d8e4 100644 (file)
@@ -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);