summaryrefslogtreecommitdiffstats
path: root/generic/tclConfig.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-03-06 21:33:24 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-03-06 21:33:24 (GMT)
commitc4a1ea568ee92b0d890bb012f44b345c80f25fa8 (patch)
tree5c9b8cae89263c6d99738a15d02d2113274f66e4 /generic/tclConfig.c
parent1e155ca6690f927989e3afaa7559109019361d0d (diff)
parent81e31a16d82ff906b74f9b726637a3f146b77a4d (diff)
downloadtcl-c4a1ea568ee92b0d890bb012f44b345c80f25fa8.zip
tcl-c4a1ea568ee92b0d890bb012f44b345c80f25fa8.tar.gz
tcl-c4a1ea568ee92b0d890bb012f44b345c80f25fa8.tar.bz2
merge 8.7
Diffstat (limited to 'generic/tclConfig.c')
-rw-r--r--generic/tclConfig.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/generic/tclConfig.c b/generic/tclConfig.c
index 3e55897..6a0155f 100644
--- a/generic/tclConfig.c
+++ b/generic/tclConfig.c
@@ -41,13 +41,10 @@ typedef struct {
* Static functions in this file:
*/
-static int QueryConfigObjCmd(ClientData clientData,
- Tcl_Interp *interp, int objc,
- struct Tcl_Obj *const *objv);
-static void QueryConfigDelete(ClientData clientData);
+static Tcl_ObjCmdProc QueryConfigObjCmd;
+static Tcl_CmdDeleteProc QueryConfigDelete;
+static Tcl_InterpDeleteProc ConfigDictDeleteProc;
static Tcl_Obj * GetConfigDict(Tcl_Interp *interp);
-static void ConfigDictDeleteProc(ClientData clientData,
- Tcl_Interp *interp);
/*
*----------------------------------------------------------------------
@@ -393,12 +390,9 @@ GetConfigDict(
static void
ConfigDictDeleteProc(
ClientData clientData, /* Pointer to Tcl_Obj. */
- Tcl_Interp *dummy) /* Interpreter being deleted. */
+ TCL_UNUSED(Tcl_Interp *))
{
- Tcl_Obj *pDB = (Tcl_Obj *)clientData;
- (void)dummy;
-
- Tcl_DecrRefCount(pDB);
+ Tcl_DecrRefCount((Tcl_Obj *)clientData);
}
/*