projects
/
ruby-eet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9513ef
)
Use const char* instead of char* where necessary.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Fri, 23 Mar 2007 11:04:01 +0000
(12:04 +0100)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Fri, 23 Mar 2007 11:04:01 +0000
(12:04 +0100)
ext/ext.c
patch
|
blob
|
history
diff --git
a/ext/ext.c
b/ext/ext.c
index 2fa47a942b54c6c907dff881ae6b46be2467acf5..4a572c203fba7c4205272328c0e71e126dc935fa 100644
(file)
--- a/
ext/ext.c
+++ b/
ext/ext.c
@@
-187,7
+187,7
@@
c_close (VALUE self)
}
static VALUE
-get_keys (Eet_File *ef, char *glob)
+get_keys (Eet_File *ef, c
onst c
har *glob)
{
VALUE ret;
char **keys;
@@
-598,7
+598,7
@@
static VALUE
int_to_eet_chunks (int argc, VALUE *argv, VALUE self)
{
VALUE tag, type = Qnil, ary, args[2], chunk;
- char *cfmt = "V";
+ c
onst c
har *cfmt = "V";
rb_scan_args (argc, argv, "11", &tag, &type);