diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-18 13:21:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-18 13:21:01 +0000 |
commit | 513f873d17bedf7f90e1cc2ae8f0ae63f9d23d8e (patch) | |
tree | 007a6a434ba5ec50879371a1455281bf9cda8915 /ext/stringio/stringio.c | |
parent | 625e6adfe66637af9d639cb77020d4aa2ab61b4a (diff) | |
download | ruby-513f873d17bedf7f90e1cc2ae8f0ae63f9d23d8e.tar.gz ruby-513f873d17bedf7f90e1cc2ae8f0ae63f9d23d8e.tar.xz ruby-513f873d17bedf7f90e1cc2ae8f0ae63f9d23d8e.zip |
* ext/stringio/stringio.c (check_modifiable): wrong declaration.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/stringio/stringio.c')
-rw-r--r-- | ext/stringio/stringio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index 14611a77f..27b8aba8b 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -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; { |