mailing list of musl libc
 help / color / mirror / code / Atom feed
615473b1d46be5b64377dc06c21e22bcf73f78e5 blob 355 bytes (raw)

1
2
3
4
5
6
7
8
9
 
#include "time32.h"
#include <time.h>
#include <pthread.h>

int __pthread_cond_clockwait_time32(pthread_cond_t *restrict c, pthread_mutex_t *restrict m, clockid_t clock, const struct timespec32 *restrict ts32)
{
	return pthread_cond_clockwait(c, m, clock, !ts32 ? 0 : (&(struct timespec){
		.tv_sec = ts32->tv_sec, .tv_nsec = ts32->tv_nsec}));
}
debug log:

solving 615473b1 ...
found 615473b1 in https://inbox.vuxu.org/musl/20230620143703.1415-4-luoyonggang@gmail.com/

applying [1/1] https://inbox.vuxu.org/musl/20230620143703.1415-4-luoyonggang@gmail.com/
diff --git a/compat/time32/pthread_cond_clockwait_time32.c b/compat/time32/pthread_cond_clockwait_time32.c
new file mode 100644
index 00000000..615473b1

1:7: trailing whitespace.
#include "time32.h"\r
1:8: trailing whitespace.
#include <time.h>\r
1:9: trailing whitespace.
#include <pthread.h>\r
1:10: trailing whitespace.
\r
1:11: trailing whitespace.
int __pthread_cond_clockwait_time32(pthread_cond_t *restrict c, pthread_mutex_t *restrict m, clockid_t clock, const struct timespec32 *restrict ts32)\r
Checking patch compat/time32/pthread_cond_clockwait_time32.c...
Applied patch compat/time32/pthread_cond_clockwait_time32.c cleanly.
warning: squelched 4 whitespace errors
warning: 9 lines add whitespace errors.

index at:
100644 615473b1d46be5b64377dc06c21e22bcf73f78e5	compat/time32/pthread_cond_clockwait_time32.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).