summaryrefslogtreecommitdiff
path: root/include/ruby/io
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2022-09-26 19:40:23 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2022-09-26 20:10:15 +1300
commit1c14e406d3c4a4c660f66f0d1c642d1ed2aabed2 (patch)
treeff5e7d1d83f16a1e90b575fbeb7c18a840a51d48 /include/ruby/io
parent411d0eec11f3618066a293ee72810bf48168adc8 (diff)
Fix `io/buffer.h` header guard.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6439
Diffstat (limited to 'include/ruby/io')
-rw-r--r--include/ruby/io/buffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/io/buffer.h b/include/ruby/io/buffer.h
index bb83fe0be6..16b23ec629 100644
--- a/include/ruby/io/buffer.h
+++ b/include/ruby/io/buffer.h
@@ -1,5 +1,5 @@
-#ifndef RUBY_IO_BUFFER_T
-#define RUBY_IO_BUFFER_T 1
+#ifndef RUBY_IO_BUFFER_H
+#define RUBY_IO_BUFFER_H
/**
* @file
* @author Samuel Williams
@@ -88,4 +88,4 @@ VALUE rb_io_buffer_pwrite(VALUE self, VALUE io, size_t length, rb_off_t offset);
RBIMPL_SYMBOL_EXPORT_END()
-#endif /* RUBY_IO_BUFFER_T */
+#endif /* RUBY_IO_BUFFER_H */