From 875cca4c07f6099fdefed69ab2ba2303fe9a388b Mon Sep 17 00:00:00 2001 From: ocean Date: Tue, 28 Jun 2005 13:09:58 +0000 Subject: * dir.c, eval.c, hash.c, process.c, ruby.c: avoid warning "unused variable" [ruby-dev:26387] (patch from Kazuhiro NISHIYAMA) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'process.c') diff --git a/process.c b/process.c index 800c302c1..1fbf7962b 100644 --- a/process.c +++ b/process.c @@ -1351,7 +1351,13 @@ rb_syswait(pid) int pid; { static int overriding; - RETSIGTYPE (*hfunc)_((int)), (*qfunc)_((int)), (*ifunc)_((int)); +#ifdef SIGHUP + RETSIGTYPE (*hfunc)_((int)); +#endif +#ifdef SIGQUIT + RETSIGTYPE (*qfunc)_((int)); +#endif + RETSIGTYPE (*ifunc)_((int)); int status; int i, hooked = Qfalse; -- cgit