summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-08 06:29:14 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-08 06:29:14 (GMT)
commite5230fba8ff9076e399dccd18ed8449fce19fd6f (patch)
tree15eb238acdd2bca4e5741cfade7f8299f272a69a /ext/date
parentcebc9487474b22658c853b817b163a6d13d15d35 (diff)
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
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/zonetab.h2
-rw-r--r--ext/date/zonetab.list2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/zonetab.h b/ext/date/zonetab.h
index 9d234a5..1497eb5 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 e4b67ad..3a4d121 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;