From 81fc3becc7b883571e5c716f4fdc490d107ad990 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sat, 20 Jul 2019 15:42:59 +0900 Subject: file.c: add a NORETURN declaration for statx_notimplement clang complains the lack. --- file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/file.c b/file.c index f8df0f6e43..0742c52d66 100644 --- a/file.c +++ b/file.c @@ -1222,6 +1222,8 @@ rb_statx(VALUE file, struct statx *stx, unsigned int mask) # define statx_has_birthtime(st) ((st)->stx_mask & STATX_BTIME) +NORETURN(static void statx_notimplement(const char *field_name)); + /* rb_notimplement() shows "function is unimplemented on this machine". It is not applicable to statx which behavior depends on the filesystem. */ static void -- cgit v1.2.3