From: Ryo HAYASAKA Date: 1999-07-19T06:21:37+09:00 Subject: [ruby-dev:7365] [PATCH]suppress warning, ext/tcltklib/tcltklib.c 早坂@会津大学です。 細かいことですが、ruby.h や rubysig.h でせっかく #ifdef、 #if defined() してるので、インクルードするのは後の方がいいと 思います。 僕の環境 (Linux) では、この変更で warning が一つ減ります。 --- tcltklib.c.dist Thu Jul 15 17:48:54 1999 +++ tcltklib.c Thu Jul 15 17:49:08 1999 @@ -4,12 +4,12 @@ * Oct. 24, 1997 Y. Matsumoto */ -#include "ruby.h" -#include "rubysig.h" #include #include #include #include +#include "ruby.h" +#include "rubysig.h" #ifdef __MACOS__ # include ------- Name : HAYASAKA, Ryo (早坂 良) E-mail : hayasaka@univ21.u-aizu.ac.jp URL : http://www.u-aizu.ac.jp/%7Es1041140/ Computer Science and Engineering Lab., The University of Aizu