From e5230fba8ff9076e399dccd18ed8449fce19fd6f Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 8 Jun 2016 06:29:14 +0000 Subject: suppress static-in-inline warning * ext/date/zonetab.list (zonetab): forward declaration as static. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/date/zonetab.h | 2 +- ext/date/zonetab.list | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/date/zonetab.h b/ext/date/zonetab.h index 9d234a5e43..1497eb5f65 100644 --- a/ext/date/zonetab.h +++ b/ext/date/zonetab.h @@ -35,7 +35,7 @@ struct zone { int name; int offset; }; - +static const struct zone *zonetab(); #line 9 "zonetab.list" struct zone; /* maximum key range = 434, duplicates = 0 */ diff --git a/ext/date/zonetab.list b/ext/date/zonetab.list index e4b67ad81e..3a4d121d2e 100644 --- a/ext/date/zonetab.list +++ b/ext/date/zonetab.list @@ -3,7 +3,7 @@ struct zone { int name; int offset; }; - +static const struct zone *zonetab(); %} struct zone; -- cgit v1.2.3