projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
simplify logic in stpcpy; avoid copying first aligned byte twice
[musl]
/
src
/
thread
/
pthread_mutexattr_gettype.c
diff --git
a/src/thread/pthread_mutexattr_gettype.c
b/src/thread/pthread_mutexattr_gettype.c
index
9edb16c
..
7688b06
100644
(file)
--- a/
src/thread/pthread_mutexattr_gettype.c
+++ b/
src/thread/pthread_mutexattr_gettype.c
@@
-1,6
+1,6
@@
#include "pthread_impl.h"
-int pthread_mutexattr_gettype(const pthread_mutexattr_t *
a, int *
type)
+int pthread_mutexattr_gettype(const pthread_mutexattr_t *
restrict a, int *restrict
type)
{
*type = *a & 3;
return 0;