diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-05 10:32:38 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-05 10:32:38 (GMT) |
commit | 75e8b346e2193f1c524cbbb741583e6ab4dfc417 (patch) | |
tree | b176ac82c867eb9f5b5e441afd6e1314491cc14f /generic/tclNotify.c | |
parent | b2f5cb2b5926675920e0bf8d12c39ee6e91ac1e0 (diff) | |
download | tcl-75e8b346e2193f1c524cbbb741583e6ab4dfc417.zip tcl-75e8b346e2193f1c524cbbb741583e6ab4dfc417.tar.gz tcl-75e8b346e2193f1c524cbbb741583e6ab4dfc417.tar.bz2 |
Add "const" to Tcl_SetNotifier() argument. Should have been part of TIP #27, looooooong ago. This simplifier tclXtNotify.c a lot.
Diffstat (limited to 'generic/tclNotify.c')
-rw-r--r-- | generic/tclNotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclNotify.c b/generic/tclNotify.c index 12b40b1..1140168 100644 --- a/generic/tclNotify.c +++ b/generic/tclNotify.c @@ -226,7 +226,7 @@ TclFinalizeNotifier(void) void Tcl_SetNotifier( - Tcl_NotifierProcs *notifierProcPtr) + const Tcl_NotifierProcs *notifierProcPtr) { tclNotifierHooks = *notifierProcPtr; |