diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-06-20 18:28:00 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2016-06-20 19:50:16 +0200 |
commit | a342e870fcce7f524b54e5671cab4b0702e7540f (patch) | |
tree | d704254c50e030177369cd3e2b4314095d10d5a6 /src | |
parent | 4f10c1e65c14a2c8b11577d2fd25b5c4f6912a85 (diff) | |
download | libgit2-a342e870fcce7f524b54e5671cab4b0702e7540f.tar.gz |
threads: remove now-useless typedefs
Diffstat (limited to 'src')
-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); |