Commit 961bdbdf by Patrick Steinhardt Committed by Carlos Martín Nieto

threads: remove now-useless typedefs

parent 2aa5c6ff
...@@ -23,11 +23,6 @@ typedef struct { ...@@ -23,11 +23,6 @@ typedef struct {
void *result; void *result;
} git_thread; } 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 CRITICAL_SECTION git_mutex;
typedef HANDLE git_cond; typedef HANDLE git_cond;
...@@ -40,8 +35,6 @@ typedef struct { ...@@ -40,8 +35,6 @@ typedef struct {
} native; } native;
} git_rwlock; } git_rwlock;
#define PTHREAD_MUTEX_INITIALIZER {(void*)-1}
int git_thread_create(git_thread *GIT_RESTRICT, int git_thread_create(git_thread *GIT_RESTRICT,
void *(*) (void *), void *(*) (void *),
void *GIT_RESTRICT); void *GIT_RESTRICT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment