pthread_setschedparam.3: SYNOPSIS: Use 'restrict' in prototypes
commit4beb303a630d3606e90e42d372ec74d28eeafd03
authorAlejandro Colomar <alx.manpages@gmail.com>
Mon, 8 Mar 2021 18:53:20 +0000 (8 19:53 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 14 Mar 2021 20:29:13 +0000 (14 21:29 +0100)
treecca718d221d750edf91290b4c31ab61f264e378e
parent9ab24a89a3006bdfe46f04e035f3150fe3936bdc
pthread_setschedparam.3: SYNOPSIS: Use 'restrict' in prototypes

Both POSIX and glibc use 'restrict' in pthread_getschedparam().
Let's use it here too.

.../glibc$ grep_glibc_prototype pthread_getschedparam
sysdeps/htl/pthread.h:882:
extern int pthread_getschedparam (pthread_t __thr, int *__restrict __policy,
  struct sched_param *__restrict __param)
__THROW __nonnull ((2, 3));
sysdeps/nptl/pthread.h:426:
extern int pthread_getschedparam (pthread_t __target_thread,
  int *__restrict __policy,
  struct sched_param *__restrict __param)
     __THROW __nonnull ((2, 3));
.../glibc$

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/pthread_setschedparam.3