fix up minor misplacement of restrict keyword in spawnattr sched stubs

This commit is contained in:
Rich Felker 2013-02-01 15:57:28 -05:00
parent a57ac9bf64
commit 96fbcf7d80

View 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;
}