summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-02-01 15:57:28 -0500
committerRich Felker <dalias@aerifal.cx>2013-02-01 15:57:28 -0500
commit96fbcf7d80f469e39d1dd12533f8bb8d13b64fe5 (patch)
tree22e7e04ee8ae2c97701283dc5be800fa9dafb173
parenta57ac9bf64ba202bd94d1b81bddd93b850c7b9d6 (diff)
downloadmusl-96fbcf7d80f469e39d1dd12533f8bb8d13b64fe5.tar.gz
musl-96fbcf7d80f469e39d1dd12533f8bb8d13b64fe5.tar.bz2
musl-96fbcf7d80f469e39d1dd12533f8bb8d13b64fe5.tar.xz
musl-96fbcf7d80f469e39d1dd12533f8bb8d13b64fe5.zip
fix up minor misplacement of restrict keyword in spawnattr sched stubs
-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;
}