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

marked as NORETURN

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-01-18 11:34:36 +00:00
parent 9e746a3518
commit 37f0d53290
3 changed files with 8 additions and 0 deletions

View file

@ -39,6 +39,8 @@ struct dbmdata {
DBM *di_dbm;
};
NORETURN(static void closed_dbm(void));
static void
closed_dbm(void)
{

View file

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

View file

@ -71,6 +71,8 @@ struct dbmdata {
DBM *di_dbm;
};
NORETURN(static void closed_sdbm(void));
static void
closed_sdbm(void)
{