From c72fc9f32325c0c08842bf91cb884d00f6ef5f20 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 31 Oct 2016 16:01:30 +0000 Subject: 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 --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index b2d88031e7..dca83ed6f2 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) { -- cgit v1.2.3