do not redefine a typedef
duplicated typedef declaration was not allowed in C99.
This commit is contained in:
parent
c914382db2
commit
097b766b41
Notes:
git
2023-08-25 08:28:19 +00:00
@ -16,7 +16,7 @@ struct rb_io;
|
||||
#include "ruby/io.h" /* for rb_io_t */
|
||||
|
||||
/** Ruby's IO, metadata and buffers. */
|
||||
typedef struct rb_io {
|
||||
struct rb_io {
|
||||
|
||||
/** The IO's Ruby level counterpart. */
|
||||
VALUE self;
|
||||
@ -108,7 +108,7 @@ typedef struct rb_io {
|
||||
* The timeout associated with this IO when performing blocking operations.
|
||||
*/
|
||||
VALUE timeout;
|
||||
} rb_io_t;
|
||||
};
|
||||
|
||||
/* io.c */
|
||||
void ruby_set_inplace_mode(const char *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user