Tcl Source Code

Artifact [6ba96b41ef]
Login

Artifact 6ba96b41ef3779d51a60a7a6e3883c923e89b9331d0fb6e466fd975bf7e682e6:

Attachment "ClockClientData.patch" to ticket [4724f35ada] added by anonymous 2026-04-13 00:50:45. (unpublished)
--- generic/tclDate.h.orig	2025-11-12 03:22:56
+++ generic/tclDate.h	2026-04-13 10:45:39
@@ -319,7 +319,7 @@ typedef struct ClockLastTZOffs {
  * Structure containing the client data for [clock]
  */
 
-typedef struct ClockClientData {
+struct ClockClientData {
     size_t refCount;		/* Number of live references. */
     Tcl_Obj **literals;		/* Pool of object literals (common, locale independent). */
     Tcl_Obj **mcLiterals;	/* Msgcat object literals with mc-keys for search with locale. */
@@ -371,7 +371,7 @@ typedef struct ClockClientData {
 
     int defFlags;		    /* Default flags (from configure), ATM
 				     * only CLF_VALIDATE supported */
-} ClockClientData;
+};
 
 #define ClockDefaultYearCentury 2000
 #define ClockDefaultCenturySwitch 38