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