fix up minor misplacement of restrict keyword in spawnattr sched stubs
This commit is contained in:
1 parent
a57ac9bf64
commit
96fbcf7d80
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user