summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-31 16:01:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-31 16:01:30 +0000
commitc72fc9f32325c0c08842bf91cb884d00f6ef5f20 (patch)
treec9f49ea650b40944be69a9581d7bf82e350db25d /dir.c
parent64116ea9806166cfb59b54468f138fc0adadd91b (diff)
dir.c: suppress a warning
* dir.c (to_be_ignored): remove duplicate inline modifier, and suppress a warning by VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index b2d8803..dca83ed 100644
--- a/dir.c
+++ b/dir.c
@@ -1233,7 +1233,7 @@ sys_enc_warning_in(const char *func, const char *mesg, rb_encoding *enc)
* ENOTDIR can be returned by stat(2) if a non-leaf element of the path
* is not a directory.
*/
-ALWAYS_INLINE(static inline int to_be_ignored(int e));
+ALWAYS_INLINE(static int to_be_ignored(int e));
static inline int
to_be_ignored(int e)
{