зеркало из https://github.com/github/ruby.git
file.c: add a NORETURN declaration for statx_notimplement
clang complains the lack.
This commit is contained in:
Родитель
1392b821b9
Коммит
81fc3becc7
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче