summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2016-06-20 18:28:00 +0200
committerPatrick Steinhardt <ps@pks.im>2016-06-20 19:50:16 +0200
commita342e870fcce7f524b54e5671cab4b0702e7540f (patch)
treed704254c50e030177369cd3e2b4314095d10d5a6 /src
parent4f10c1e65c14a2c8b11577d2fd25b5c4f6912a85 (diff)
downloadlibgit2-a342e870fcce7f524b54e5671cab4b0702e7540f.tar.gz
threads: remove now-useless typedefs
Diffstat (limited to 'src')
-rw-r--r--src/win32/pthread.h7
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);