diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-21 08:32:22 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-21 08:32:22 +0000 |
commit | bc6a1d8dcfae8b3cdc85fd1f7e6ba66a88a2a867 (patch) | |
tree | f306b27a4dc8690800157d3bb45e310250c4dd0d /ext/tk/tcltklib.c | |
parent | 7dd70df4b014f4bd87e02641c60ecdd929b2797b (diff) | |
download | ruby-bc6a1d8dcfae8b3cdc85fd1f7e6ba66a88a2a867.tar.gz |
* ext/socket/getaddrinfo.c (freeaddrinfo, get_name): fixed typo.
* ext/tk/tcltklib.c (tcl_eval, tcl_global_eva): ditto.
* ext/zlib/zlib.c (rscheck): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/tcltklib.c')
-rw-r--r-- | ext/tk/tcltklib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index 862e817a7e..e9b553f35c 100644 --- a/ext/tk/tcltklib.c +++ b/ext/tk/tcltklib.c @@ -124,7 +124,7 @@ static VALUE tk_funcall _((VALUE(), int, VALUE*, VALUE)); /* safe Tcl_Eval and Tcl_GlobalEval */ static int -tcl_eval(Tcp_Interp interp, const char *cmd) +tcl_eval(Tcl_Interp *interp, const char *cmd) { char *buf = strdup(cmd); const int ret = Tcl_Eval(interp, buf); @@ -136,7 +136,7 @@ tcl_eval(Tcp_Interp interp, const char *cmd) #define Tcl_Eval tcl_eval static int -tcl_global_eval(Tcp_Interp *interp, const char *cmd) +tcl_global_eval(Tcl_Interp *interp, const char *cmd) { char *buf = strdup(cmd); const int ret = Tcl_GlobalEval(interp, buf); |