Add a hunk to satisfy gcc-4.x' strictness. The port should build with

the new compiler now.

Notified by:	Kris
Tested with:	gcc-4.2.0
This commit is contained in:
Mikhail Teterin 2007-03-03 21:06:49 +00:00
parent 8c09acb3f5
commit 16ce0b4018
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186459

View File

@ -43,6 +43,17 @@
+#endif /* POLLED_EVENTS } */
@@ -1167,9 +1178,9 @@
*/
+CALLBACK_SCOPE Tcl_ChannelProc callback_handler;
static void
remove_handler (hand)
int hand;
{
- CALLBACK_SCOPE Tcl_ChannelProc callback_handler;
if (SybProcs[hand].callBackScript != NULL) {
Tcl_DecrRefCount(SybProcs[hand].callBackScript);
@@ -1669,6 +1680,8 @@