@@ -1555,7 +1555,7 @@ tclsetdelcmd(interp, reflist, vimobj, delcmd)
15551555********************************************/
15561556
15571557 static int
1558- channel_close (instance , interp )
1558+ tcl_channel_close (instance , interp )
15591559 ClientData instance ;
15601560 Tcl_Interp * interp UNUSED ;
15611561{
@@ -1572,7 +1572,7 @@ channel_close(instance, interp)
15721572}
15731573
15741574 static int
1575- channel_input (instance , buf , bufsiz , errptr )
1575+ tcl_channel_input (instance , buf , bufsiz , errptr )
15761576 ClientData instance UNUSED ;
15771577 char * buf UNUSED ;
15781578 int bufsiz UNUSED ;
@@ -1588,7 +1588,7 @@ channel_input(instance, buf, bufsiz, errptr)
15881588}
15891589
15901590 static int
1591- channel_output (instance , buf , bufsiz , errptr )
1591+ tcl_channel_output (instance , buf , bufsiz , errptr )
15921592 ClientData instance ;
15931593 char * buf ;
15941594 int bufsiz ;
@@ -1628,15 +1628,15 @@ channel_output(instance, buf, bufsiz, errptr)
16281628}
16291629
16301630 static void
1631- channel_watch (instance , mask )
1631+ tcl_channel_watch (instance , mask )
16321632 ClientData instance UNUSED ;
16331633 int mask UNUSED ;
16341634{
16351635 Tcl_SetErrno (EINVAL );
16361636}
16371637
16381638 static int
1639- channel_gethandle (instance , direction , handleptr )
1639+ tcl_channel_gethandle (instance , direction , handleptr )
16401640 ClientData instance UNUSED ;
16411641 int direction UNUSED ;
16421642 ClientData * handleptr UNUSED ;
@@ -1646,18 +1646,18 @@ channel_gethandle(instance, direction, handleptr)
16461646}
16471647
16481648
1649- static Tcl_ChannelType channel_type =
1649+ static Tcl_ChannelType tcl_channel_type =
16501650{
16511651 "vimmessage" , /* typeName */
16521652 TCL_CHANNEL_VERSION_2 , /* version */
1653- channel_close , /* closeProc */
1654- channel_input , /* inputProc */
1655- channel_output , /* outputProc */
1653+ tcl_channel_close , /* closeProc */
1654+ tcl_channel_input , /* inputProc */
1655+ tcl_channel_output , /* outputProc */
16561656 NULL , /* seekProc */
16571657 NULL , /* setOptionProc */
16581658 NULL , /* getOptionProc */
1659- channel_watch , /* watchProc */
1660- channel_gethandle , /* getHandleProc */
1659+ tcl_channel_watch , /* watchProc */
1660+ tcl_channel_gethandle , /* getHandleProc */
16611661 NULL , /* close2Proc */
16621662 NULL , /* blockModeProc */
16631663#ifdef TCL_CHANNEL_VERSION_2
@@ -1732,8 +1732,8 @@ tclinit(eap)
17321732 /* Create replacement channels for stdout and stderr; this has to be
17331733 * done each time an interpreter is created since the channels are closed
17341734 * when the interpreter is deleted */
1735- ch1 = Tcl_CreateChannel (& channel_type , "vimout" , VIMOUT , TCL_WRITABLE );
1736- ch2 = Tcl_CreateChannel (& channel_type , "vimerr" , VIMERR , TCL_WRITABLE );
1735+ ch1 = Tcl_CreateChannel (& tcl_channel_type , "vimout" , VIMOUT , TCL_WRITABLE );
1736+ ch2 = Tcl_CreateChannel (& tcl_channel_type , "vimerr" , VIMERR , TCL_WRITABLE );
17371737 Tcl_SetStdChannel (ch1 , TCL_STDOUT );
17381738 Tcl_SetStdChannel (ch2 , TCL_STDERR );
17391739
0 commit comments