summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/process.c b/process.c
index ac72463..708cea9 100644
--- a/process.c
+++ b/process.c
@@ -294,7 +294,8 @@ extern ID ruby_static_id_status;
#define ALWAYS_NEED_ENVP 0
#endif
-static inline int close_unless_reserved(fd)
+static inline int
+close_unless_reserved(int fd)
{
/* Do nothing to the reserved fd because it should be closed in exec(2)
due to the O_CLOEXEC or FD_CLOEXEC flag. */