From d198d64e0464c141f70c49880bf511ac3dcd1162 Mon Sep 17 00:00:00 2001 From: normal Date: Mon, 15 Sep 2014 07:31:38 +0000 Subject: 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 --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'process.c') diff --git a/process.c b/process.c index c4965eca7e..1ea637a412 100644 --- a/process.c +++ b/process.c @@ -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 -- cgit v1.2.3