diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-06-20 18:28:00 +0200 |
---|---|---|
committer | Carlos MartÃn Nieto <cmn@dwim.me> | 2016-10-01 17:40:39 +0200 |
commit | 961bdbdfacf4e965216d61fbc9f778c089c2e78a (patch) | |
tree | b74ff1407835e6e9952dc26d6af8bf3ab6afe9b5 | |
parent | 2aa5c6ff8a0be7893b7b41f3048bf6b7a9c69a49 (diff) | |
download | libgit2-961bdbdfacf4e965216d61fbc9f778c089c2e78a.tar.gz |
threads: remove now-useless typedefs
-rw-r--r-- | src/win32/pthread.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/win32/pthread.h b/src/win32/pthread.h index 821bb64ee..977d2dfab 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); |