diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-07-20 15:42:59 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-07-20 15:43:42 +0900 |
commit | 81fc3becc7b883571e5c716f4fdc490d107ad990 (patch) | |
tree | 697ae8dad6f5adcd65a37d0939f585c599b913ad | |
parent | 1392b821b99dacb4d4da5081640cfe7a4fb866f4 (diff) | |
download | ruby-81fc3becc7b883571e5c716f4fdc490d107ad990.tar.gz |
file.c: add a NORETURN declaration for statx_notimplement
clang complains the lack.
-rw-r--r-- | file.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |