[前][次][番号順一覧][スレッド一覧]

ruby-changes:73739

From: Samuel <ko1@a...>
Date: Mon, 26 Sep 2022 16:10:33 +0900 (JST)
Subject: [ruby-changes:73739] 1c14e406d3 (master): Fix `io/buffer.h` header guard.

https://git.ruby-lang.org/ruby.git/commit/?id=1c14e406d3

From 1c14e406d3c4a4c660f66f0d1c642d1ed2aabed2 Mon Sep 17 00:00:00 2001
From: Samuel Williams <samuel.williams@o...>
Date: Mon, 26 Sep 2022 19:40:23 +1300
Subject: Fix `io/buffer.h` header guard.

---
 include/ruby/io/buffer.h | 6 +++---
 1 file 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 @@ https://github.com/ruby/ruby/blob/trunk/include/ruby/io/buffer.h#L1
-#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); https://github.com/ruby/ruby/blob/trunk/include/ruby/io/buffer.h#L88
 
 RBIMPL_SYMBOL_EXPORT_END()
 
-#endif  /* RUBY_IO_BUFFER_T */
+#endif  /* RUBY_IO_BUFFER_H */
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]