musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012年11月27日 09:44:30 -0500
committerRich Felker <dalias@aerifal.cx>2012年11月27日 09:44:30 -0500
commit1c322f2f0a9173a3ae8c8bfa12d5d8e92fb5d0ab (patch)
treeeab1ad10464653baaaa161e10992a0ff2a7ca146 /include
parente6dcebd5efa2d390f0a24dc11444024e9fd1990c (diff)
downloadmusl-1c322f2f0a9173a3ae8c8bfa12d5d8e92fb5d0ab.tar.gz
fix some restrict-qualifier mismatches in newly added interfaces
these should have little/no practical impact but they're needed for strict conformance.
Diffstat (limited to 'include')
-rw-r--r--include/spawn.h 4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/spawn.h b/include/spawn.h
index 92b77f79..29c799ee 100644
--- a/include/spawn.h
+++ b/include/spawn.h
@@ -57,8 +57,8 @@ int posix_spawnattr_getsigdefault(const posix_spawnattr_t *__restrict, sigset_t
int posix_spawnattr_setschedparam(posix_spawnattr_t *__restrict, const struct sched_param *__restrict);
int posix_spawnattr_getschedparam(const posix_spawnattr_t *__restrict, struct sched_param *__restrict);
-int posix_spawnattr_setschedpolicy(posix_spawnattr_t *__restrict, int);
-int posix_spawnattr_getschedpolicy(const posix_spawnattr_t *__restrict, int *);
+int posix_spawnattr_setschedpolicy(posix_spawnattr_t *, int);
+int posix_spawnattr_getschedpolicy(const posix_spawnattr_t *__restrict, int *__restrict);
int posix_spawn_file_actions_init(posix_spawn_file_actions_t *);
int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月08日 06:06:00 +0000

AltStyle によって変換されたページ (->オリジナル) /