Index: generic/nsf.c =================================================================== diff -u -r9cae9f80af4fe547559e5c1391ac706fe4fc8575 -r9c4fabbfe2874e767020574ca3c83c7edbda1519 --- generic/nsf.c (.../nsf.c) (revision 9cae9f80af4fe547559e5c1391ac706fe4fc8575) +++ generic/nsf.c (.../nsf.c) (revision 9c4fabbfe2874e767020574ca3c83c7edbda1519) @@ -32809,7 +32809,7 @@ */ Nsf_PointerExit(interp); Nsf_EnumerationTypeRelease(interp); - Nsf_CmdDefinitionRelease(interp); + Nsf_CmdDefinitionRelease(); #if defined(NSF_PROFILE) NsfProfileFree(interp); Index: generic/nsfCmdDefinitions.c =================================================================== diff -u -r9cae9f80af4fe547559e5c1391ac706fe4fc8575 -r9c4fabbfe2874e767020574ca3c83c7edbda1519 --- generic/nsfCmdDefinitions.c (.../nsfCmdDefinitions.c) (revision 9cae9f80af4fe547559e5c1391ac706fe4fc8575) +++ generic/nsfCmdDefinitions.c (.../nsfCmdDefinitions.c) (revision 9c4fabbfe2874e767020574ca3c83c7edbda1519) @@ -86,10 +86,8 @@ *---------------------------------------------------------------------- */ void -Nsf_CmdDefinitionRelease(Tcl_Interp *interp) { +Nsf_CmdDefinitionRelease(void) { - nonnull_assert(interp != NULL); - NsfMutexLock(&cmdDefinitionMutex); if (--cmdDefinitionRefCount < 1) { Index: generic/nsfInt.h =================================================================== diff -u -r9cae9f80af4fe547559e5c1391ac706fe4fc8575 -r9c4fabbfe2874e767020574ca3c83c7edbda1519 --- generic/nsfInt.h (.../nsfInt.h) (revision 9cae9f80af4fe547559e5c1391ac706fe4fc8575) +++ generic/nsfInt.h (.../nsfInt.h) (revision 9c4fabbfe2874e767020574ca3c83c7edbda1519) @@ -1255,10 +1255,7 @@ * NSF command definitions interface */ EXTERN void Nsf_CmdDefinitionInit(void); - -EXTERN void Nsf_CmdDefinitionRelease(Tcl_Interp *interp) - nonnull(1); - +EXTERN void Nsf_CmdDefinitionRelease(void); EXTERN Nsf_methodDefinition *Nsf_CmdDefinitionGet(Tcl_ObjCmdProc *proc) nonnull(1);