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:
parent
1392b821b9
commit
81fc3becc7
1 changed files with 2 additions and 0 deletions
2
file.c
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue