summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-08 05:41:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-08 05:41:08 +0000
commitcebc9487474b22658c853b817b163a6d13d15d35 (patch)
tree74f929ccebed3aeff2a41b9f77a1416380ab5a21 /ext
parent9a4a04fe15a2d71ec3661b37fcf7285a99ad778d (diff)
fix date build
* common.mk (zonetabl.h): fix typo. * ext/date/zonetab.list: remove forward declaration which may be conflict with the later definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-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 d759a2274d4..9d234a5e43d 100644
--- a/ext/date/zonetab.h
+++ b/ext/date/zonetab.h
@@ -35,7 +35,7 @@ struct zone {
int name;
int offset;
};
-static inline 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 1a233071bec..e4b67ad81e6 100644
--- a/ext/date/zonetab.list
+++ b/ext/date/zonetab.list
@@ -3,7 +3,7 @@ struct zone {
int name;
int offset;
};
-static inline const struct zone *zonetab();
+
%}
struct zone;