File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ typedef enum {
7070} rb_io_event_t;
7171
7272struct rb_io_t;
73+ typedef struct rb_io_t rb_io_t;
7374
7475/** Decomposed encoding flags (e.g. `"enc:enc2""`). */
7576/*
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ PACKED_STRUCT_UNALIGNED(struct rb_io_buffer_t {
3535typedef struct rb_io_buffer_t rb_io_buffer_t;
3636
3737/** Ruby's IO, metadata and buffers. */
38- typedef struct rb_io_t {
38+ struct rb_io_t {
3939
4040 /** The IO's Ruby level counterpart. */
4141 VALUE self;
@@ -136,7 +136,7 @@ typedef struct rb_io_t {
136136 * the operation can be cancelled.
137137 */
138138 struct list_head blocking_list;
139- } rb_io_t ;
139+ };
140140
141141/* io.c */
142142void ruby_set_inplace_mode(const char *);
You can’t perform that action at this time.
0 commit comments