mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/stringio/stringio.c (check_modifiable): wrong declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
51364ab05a
commit
7632b48a7d
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Mar 18 22:19:52 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||
|
||||
* ext/stringio/stringio.c (check_modifiable): wrong declaration.
|
||||
|
||||
Mon Mar 18 18:04:05 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||
|
||||
* ext/digest: add depend file.
|
||||
|
|
|
@ -32,7 +32,7 @@ static struct StringIO* check_strio _((VALUE));
|
|||
static struct StringIO* get_strio _((VALUE));
|
||||
static struct StringIO* readable _((struct StringIO *));
|
||||
static struct StringIO* writable _((struct StringIO *));
|
||||
static struct void check_modifiable _((struct StringIO *));
|
||||
static void check_modifiable _((struct StringIO *));
|
||||
|
||||
#define IS_STRIO(obj) (RDATA(obj)->dmark == (RUBY_DATA_FUNC)strio_mark)
|
||||
#define error_inval(msg) (errno = EINVAL, rb_sys_fail(msg))
|
||||
|
@ -118,7 +118,7 @@ writable(ptr)
|
|||
return ptr;
|
||||
}
|
||||
|
||||
static struct void
|
||||
static void
|
||||
check_modifiable(ptr)
|
||||
struct StringIO *ptr;
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue