Skip to content

Commit a342e87

Browse files
committed
threads: remove now-useless typedefs
1 parent 4f10c1e commit a342e87

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/win32/pthread.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ typedef struct {
2323
void *result;
2424
} git_thread;
2525

26-
typedef int pthread_mutexattr_t;
27-
typedef int pthread_condattr_t;
28-
typedef int pthread_attr_t;
29-
typedef int pthread_rwlockattr_t;
30-
3126
typedef CRITICAL_SECTION git_mutex;
3227
typedef HANDLE git_cond;
3328

@@ -40,8 +35,6 @@ typedef struct {
4035
} native;
4136
} git_rwlock;
4237

43-
#define PTHREAD_MUTEX_INITIALIZER {(void*)-1}
44-
4538
int git_thread_create(git_thread *GIT_RESTRICT,
4639
void *(*) (void *),
4740
void *GIT_RESTRICT);

0 commit comments

Comments
 (0)