aboutsummaryrefslogtreecommitdiffstats
path: root/id_table.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-17 08:24:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-17 08:24:54 +0000
commitd7a4cc3a97c0783d80aec09f1b1283d4d80ef4ff (patch)
treed6d98736ed2be63f0c4a16337235f45cad866727 /id_table.h
parente4a9839713057c4057f24418066ec734e6035037 (diff)
downloadruby-d7a4cc3a97c0783d80aec09f1b1283d4d80ef4ff.tar.gz
id_table.h: include guard
* id_table.h (RUBY_ID_TABLE_H): add include guard. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'id_table.h')
-rw-r--r--id_table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/id_table.h b/id_table.h
index 0b1b119b84..167ff47001 100644
--- a/id_table.h
+++ b/id_table.h
@@ -1,3 +1,5 @@
+#ifndef RUBY_ID_TABLE_H
+#define RUBY_ID_TABLE_H 1
#include "ruby/ruby.h"
struct rb_id_table;
@@ -24,3 +26,5 @@ typedef enum rb_id_table_iterator_result rb_id_table_foreach_func_t(ID id, VALUE
typedef enum rb_id_table_iterator_result rb_id_table_foreach_values_func_t(VALUE val, void *data);
void rb_id_table_foreach(struct rb_id_table *tbl, rb_id_table_foreach_func_t *func, void *data);
void rb_id_table_foreach_values(struct rb_id_table *tbl, rb_id_table_foreach_values_func_t *func, void *data);
+
+#endif /* RUBY_ID_TABLE_H */