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:
parent
9e746a3518
commit
37f0d53290
3 changed files with 8 additions and 0 deletions
|
@ -39,6 +39,8 @@ struct dbmdata {
|
|||
DBM *di_dbm;
|
||||
};
|
||||
|
||||
NORETURN(static void closed_dbm(void));
|
||||
|
||||
static void
|
||||
closed_dbm(void)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -71,6 +71,8 @@ struct dbmdata {
|
|||
DBM *di_dbm;
|
||||
};
|
||||
|
||||
NORETURN(static void closed_sdbm(void));
|
||||
|
||||
static void
|
||||
closed_sdbm(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue