use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / process / posix_spawnattr_getpgroup.c
index 2c72e98..0480527 100644 (file)
@@ -1,6 +1,6 @@
 #include <spawn.h>
 
-int posix_spawnattr_getpgroup(const posix_spawnattr_t *attr, pid_t *pgrp)
+int posix_spawnattr_getpgroup(const posix_spawnattr_t *restrict attr, pid_t *restrict pgrp)
 {
        *pgrp = attr->__pgrp;
        return 0;