diff options
| author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-28 13:09:58 +0000 |
|---|---|---|
| committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-28 13:09:58 +0000 |
| commit | 875cca4c07f6099fdefed69ab2ba2303fe9a388b (patch) | |
| tree | 8486fd9f2fe613d6891843071ad9ec1ce527c028 /process.c | |
| parent | fe0e916701d142341e0ca6ae71b64ad871b3c1bb (diff) | |
| download | ruby-875cca4c07f6099fdefed69ab2ba2303fe9a388b.tar.gz ruby-875cca4c07f6099fdefed69ab2ba2303fe9a388b.tar.xz ruby-875cca4c07f6099fdefed69ab2ba2303fe9a388b.zip | |
* 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
Diffstat (limited to 'process.c')
| -rw-r--r-- | process.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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; |
