summaryrefslogtreecommitdiff
path: root/src/process/posix_spawnattr_getflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process/posix_spawnattr_getflags.c')
-rw-r--r--src/process/posix_spawnattr_getflags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/posix_spawnattr_getflags.c b/src/process/posix_spawnattr_getflags.c
index 7353d24a..aa635dda 100644
--- a/src/process/posix_spawnattr_getflags.c
+++ b/src/process/posix_spawnattr_getflags.c
@@ -1,6 +1,6 @@
#include <spawn.h>
-int posix_spawnattr_getflags(const posix_spawnattr_t *attr, short *flags)
+int posix_spawnattr_getflags(const posix_spawnattr_t *restrict attr, short *restrict flags)
{
*flags = attr->__flags;
return 0;