diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-16 02:39:30 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-16 02:39:30 +0000 |
commit | 677322f2860774a9e5c97e0300b34145935f4200 (patch) | |
tree | 6a5bef76e726bae2cde400b7a2dd38db7c130a40 /process.c | |
parent | c024882893e86a2e4d70cd1d532f31f40b1b7f2f (diff) | |
download | ruby-677322f2860774a9e5c97e0300b34145935f4200.tar.gz |
process.c (close_unless_reserved): declare type of `fd' arg
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. */ |