From 1c322f2f0a9173a3ae8c8bfa12d5d8e92fb5d0ab Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 27 Nov 2012 09:44:30 -0500 Subject: fix some restrict-qualifier mismatches in newly added interfaces these should have little/no practical impact but they're needed for strict conformance. --- include/spawn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 *); -- cgit v1.2.1