Skip to content

Commit c3d4793

Browse files
committed
fixup
1 parent 9fb3ffe commit c3d4793

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/include/port/pg_threads_win32.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ PG_THREADS_MAP_SUCCESS(pg_cnd_broadcast, WakeAllConditionVariable, pg_cnd_impl *
114114
PG_THREADS_EMPTY_VOID(pg_cnd_destroy, pg_cnd_impl *);
115115
PG_THREADS_MAP_SUCCESS(pg_cnd_init, InitializeConditionVariable, pg_cnd_impl *);
116116
PG_THREADS_MAP_SUCCESS(pg_cnd_signal, WakeConditionVariable, pg_cnd_impl *);
117-
PG_THREADS_OUTOFLINE(pg_cnd_timedwait, int, pg_cnd_impl *cnd, pg_mtx_impl *mutex, const struct timespec *time);
118-
PG_THREADS_OUTOFLINE(pg_cnd_wait, int, pg_cnd_impl *cnd, pg_mtx_impl *mutex);
117+
PG_THREADS_OUTOFLINE(pg_cnd_timedwait, int, pg_cnd_impl *, pg_mtx_impl *, const struct timespec *);
118+
PG_THREADS_OUTOFLINE(pg_cnd_wait, int, pg_cnd_impl *, pg_mtx_impl *);
119119

120120
/* pg_mtx_t */
121121
PG_THREADS_OUTOFLINE_VOID(pg_mtx_destroy, pg_mtx_impl *);
@@ -214,7 +214,7 @@ pg_rwlock_unlock(pg_rwlock_impl *lock)
214214

215215
/* pg_thrd_barrier_t */
216216
PG_THREADS_EMPTY_VOID(pg_thrd_barrier_destroy, pg_thrd_barrier_impl *);
217-
PG_THREADS_MAP(pg_thrd_barrier_init, pg_thrd_barrier_impl *, int count);
217+
PG_THREADS_MAP(pg_thrd_barrier_init, pg_thrd_barrier_impl *, int);
218218
static inline int
219219
pg_thrd_barrier_wait(pg_thrd_barrier_impl *barrier)
220220
{
@@ -230,7 +230,7 @@ PG_THREADS_OUTOFLINE(pg_thrd_detach, int, pg_thrd_impl);
230230
PG_THREADS_OUTOFLINE(pg_thrd_equal, int, pg_thrd_impl, pg_thrd_impl);
231231
PG_THREADS_OUTOFLINE_VOID(pg_thrd_exit, int);
232232
PG_THREADS_OUTOFLINE(pg_thrd_join, int, pg_thrd_impl, int *);
233-
PG_THREADS_OUTOFLINE(pg_thrd_sleep, int, const struct timespec *duration, struct timespec *remaining);
233+
PG_THREADS_OUTOFLINE(pg_thrd_sleep, int, const struct timespec *, struct timespec *);
234234
PG_THREADS_FORWARD_VOID_0ARG(pg_thrd_yield, SwitchToThread);
235235

236236
/* pg_tss_t */

0 commit comments

Comments
 (0)