diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-18 11:34:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-18 11:34:36 +0000 |
commit | 37f0d53290f331f9db83c9450d788ca005e8d636 (patch) | |
tree | 9149040573e37afd2d95eb351fca1612a60f052c /ext/gdbm/gdbm.c | |
parent | 9e746a3518d5a9af3aca1a00e73ab555fa73ebe3 (diff) |
marked as NORETURN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/gdbm/gdbm.c')
-rw-r--r-- | ext/gdbm/gdbm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c index 85e2b33f31..05eb450381 100644 --- a/ext/gdbm/gdbm.c +++ b/ext/gdbm/gdbm.c @@ -83,6 +83,10 @@ static VALUE rb_cGDBM, rb_eGDBMError, rb_eGDBMFatalError; #define MY_BLOCK_SIZE (2048) #define MY_FATAL_FUNC rb_gdbm_fatal + +NORETURN(static void rb_gdbm_fatal(const char *msg)); +NORETURN(static void closed_dbm(void)); + static void rb_gdbm_fatal(const char *msg) { |