diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-15 07:31:38 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-15 07:31:38 +0000 |
commit | d198d64e0464c141f70c49880bf511ac3dcd1162 (patch) | |
tree | 218dafddb673ccc9e33b2d22e9a4889021c33119 /process.c | |
parent | 667d502adbb9cfa6aa9fcdfbd9e95e251c8f0ba7 (diff) | |
download | ruby-d198d64e0464c141f70c49880bf511ac3dcd1162.tar.gz |
trivial packing for on-stack structs
* io.c (struct io_advise_struct): 32 => 24 bytes on 64-bit
* io.c (struct io_internal_writev_struct): 24 => 16 bytes on 64-bit
* process.c (struct waitpid_arg): ditto
Slightly reduce stack pressure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -740,8 +740,8 @@ waitall_each(rb_pid_t pid, int status, VALUE ary) #else struct waitpid_arg { rb_pid_t pid; - int *st; int flags; + int *st; }; #endif |