diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-17 00:46:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-17 00:46:30 +0000 |
commit | db577345ca577e36dd8026b43f9e104d4680a4ad (patch) | |
tree | f86147e41da1944f8c36ae1fa87cdb13f5084b9d /lib | |
parent | 3c5f42a90a64446d67cc691ce878678b07ea8e02 (diff) |
mkmf.rb: suppress warnings
* lib/mkmf.rb (try_func): suppress implicit-function-declaration
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 78521d3875..7b213c2f62 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -775,6 +775,7 @@ SRC /*top*/ extern int t(void); #{MAIN_DOES_NOTHING 't'} +#{"extern void #{call};" if decltype} int t(void) { #{call}; return 0; } SRC end |