summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/tkMacOSXCarbonEvents.c8
-rw-r--r--macosx/tkMacOSXDebug.h6
2 files changed, 8 insertions, 6 deletions
diff --git a/macosx/tkMacOSXCarbonEvents.c b/macosx/tkMacOSXCarbonEvents.c
index ddeec64..9b45c19 100644
--- a/macosx/tkMacOSXCarbonEvents.c
+++ b/macosx/tkMacOSXCarbonEvents.c
@@ -53,7 +53,7 @@
* software in accordance with the terms specified in this
* license.
*
- * RCS: @(#) $Id: tkMacOSXCarbonEvents.c,v 1.3.2.3 2005/09/10 14:54:17 das Exp $
+ * RCS: @(#) $Id: tkMacOSXCarbonEvents.c,v 1.3.2.4 2005/09/10 15:11:29 das Exp $
*/
#include "tkInt.h"
@@ -67,6 +67,12 @@
#endif
*/
+#ifdef TK_MAC_DEBUG_CARBON_EVENTS
+/* Carbon-internal event debugging routines (c.f. Technote 2124): */
+void _DebugPrintEvent(EventRef inEvent);
+void _TraceEventByName(CFStringRef eventName);
+#endif /* TK_MAC_DEBUG_CARBON_EVENTS */
+
/* Declarations of functions used only in this file */
static OSStatus CarbonEventHandlerProc (
EventHandlerCallRef callRef,
diff --git a/macosx/tkMacOSXDebug.h b/macosx/tkMacOSXDebug.h
index bb3aa32..c947ef3 100644
--- a/macosx/tkMacOSXDebug.h
+++ b/macosx/tkMacOSXDebug.h
@@ -50,7 +50,7 @@
* software in accordance with the terms specified in this
* license.
*
- * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.2.2.2 2005/09/10 14:54:17 das Exp $
+ * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.2.2.3 2005/09/10 15:11:29 das Exp $
*/
#ifndef _TKMACDEBUG
@@ -74,10 +74,6 @@ char * TkMacOSXMenuMessageToAscii(int msg, char * s);
char * MouseTrackingResultToAscii(MouseTrackingResult r, char * buf );
-/* Declare Carbon-internal debugging routines (c.f. Technote 2124): */
-void _DebugPrintEvent(EventRef inEvent);
-void _TraceEventByName(CFStringRef eventName);
-
#endif
#endif