commit | 3c88e5d6e110ea5bc654f6efe6032cbc843fb3a3 | [log] [tgz] |
---|---|---|
author | Yuki Yugui Sonoda <yugui@yugui.jp> | Thu Apr 16 20:09:00 2015 +0900 |
committer | Yuki Yugui Sonoda <yugui@yugui.jp> | Thu Apr 16 20:09:00 2015 +0900 |
tree | 43c504b4624e9be8328be904cff89ee251fbae19 | |
parent | 0afc3addf4b438d32ab9a7424c0ae588a1c8e212 [diff] [blame] |
Make some global variables static They do not need to be extern.
diff --git a/src/ruby/ext/grpc/rb_grpc.c b/src/ruby/ext/grpc/rb_grpc.c index 4f30a62..51d1872 100644 --- a/src/ruby/ext/grpc/rb_grpc.c +++ b/src/ruby/ext/grpc/rb_grpc.c
@@ -50,7 +50,7 @@ const RUBY_DATA_FUNC GC_NOT_MARKED = NULL; const RUBY_DATA_FUNC GC_DONT_FREE = NULL; -VALUE grpc_rb_cTimeVal = Qnil; +static VALUE grpc_rb_cTimeVal = Qnil; /* Alloc func that blocks allocation of a given object by raising an * exception. */