From 96fbcf7d80f469e39d1dd12533f8bb8d13b64fe5 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 1 Feb 2013 15:57:28 -0500 Subject: [PATCH] fix up minor misplacement of restrict keyword in spawnattr sched stubs --- src/process/posix_spawnattr_sched.c | 4 ++-- 1 file 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; } -- 2.25.1