1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

file.c: add a NORETURN declaration for statx_notimplement

clang complains the lack.
This commit is contained in:
Yusuke Endoh 2019-07-20 15:42:59 +09:00
parent 1392b821b9
commit 81fc3becc7

2
file.c
View file

@ -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