fix up minor misplacement of restrict keyword in spawnattr sched stubs
authorRich Felker <dalias@aerifal.cx>
Fri, 1 Feb 2013 20:57:28 +0000 (15:57 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 1 Feb 2013 20:57:28 +0000 (15:57 -0500)
src/process/posix_spawnattr_sched.c

index e2ba0d19dc4e83f826b1b601a5a6fd8af3fba8fb..3143635bacc4f43b356affbf2a401e673bc7a1e4 100644 (file)
@@ -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;
 }