summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2005-09-10 15:11:29 (GMT)
committerdas <das>2005-09-10 15:11:29 (GMT)
commit3431f9d27d778bba8668613730b6d6cb4d97c547 (patch)
treec58c4e6ac94eb7fa531517a04ce6ac15c83abb1b
parentb9cdc82d5a519ef9d27ee4bb737b1f4f8117b3de (diff)
downloadtk-3431f9d27d778bba8668613730b6d6cb4d97c547.zip
tk-3431f9d27d778bba8668613730b6d6cb4d97c547.tar.gz
tk-3431f9d27d778bba8668613730b6d6cb4d97c547.tar.bz2
move declarations of Carbon-internal event debugging routines to tkMacOSXCarbonEvents.c
-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