about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process/posix_spawnattr_sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process/posix_spawnattr_sched.c b/src/process/posix_spawnattr_sched.c
index e2ba0d19..3143635b 100644
--- a/src/process/posix_spawnattr_sched.c
+++ b/src/process/posix_spawnattr_sched.c
@@ -14,12 +14,12 @@ int posix_spawnattr_setschedparam(posix_spawnattr_t *restrict attr,
 	return ENOSYS;
 }
 
-int posix_spawnattr_getschedpolicy(const posix_spawnattr_t *restrict attr, int *policy)
+int posix_spawnattr_getschedpolicy(const posix_spawnattr_t *restrict attr, int *restrict policy)
 {
 	return ENOSYS;
 }
 
-int posix_spawnattr_setschedpolicy(posix_spawnattr_t *restrict attr, int policy)
+int posix_spawnattr_setschedpolicy(posix_spawnattr_t *attr, int policy)
 {
 	return ENOSYS;
 }