mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 20:17:59 +00:00
threads: remove now-useless typedefs
This commit is contained in:
parent
4f10c1e65c
commit
a342e870fc
@ -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 {
|
|||||||
} 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);
|
||||||
|
Loading…
Reference in New Issue
Block a user