summaryrefslogtreecommitdiffstats
path: root/generic/tclLoadNone.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-04 15:32:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-04 15:32:17 (GMT)
commit29be47f4511520e0e8efac664661d17195c8fea1 (patch)
tree5a04716bef3e6f774a44471d082b0aa937f44cbf /generic/tclLoadNone.c
parent58bf5b79b7e9fa16903e3796a77e212afee94d31 (diff)
parentc47a86166324a3e2efe9359c431bb93f7519847c (diff)
downloadtcl-29be47f4511520e0e8efac664661d17195c8fea1.zip
tcl-29be47f4511520e0e8efac664661d17195c8fea1.tar.gz
tcl-29be47f4511520e0e8efac664661d17195c8fea1.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclLoadNone.c')
-rw-r--r--generic/tclLoadNone.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/generic/tclLoadNone.c b/generic/tclLoadNone.c
index 588c2cb..e9f79e2 100644
--- a/generic/tclLoadNone.c
+++ b/generic/tclLoadNone.c
@@ -63,8 +63,8 @@ TclpDlopen(
MODULE_SCOPE void *
TclpLoadMemoryGetBuffer(
- Tcl_Interp *interp, /* Dummy: unused by this implementation */
- int size) /* Dummy: unused by this implementation */
+ TCL_UNUSED(Tcl_Interp *),
+ TCL_UNUSED(int))
{
return NULL;
}
@@ -72,14 +72,12 @@ TclpLoadMemoryGetBuffer(
MODULE_SCOPE int
TclpLoadMemory(
Tcl_Interp *interp, /* Used for error reporting. */
- void *buffer, /* Dummy: unused by this implementation */
- int size, /* Dummy: unused by this implementation */
- int codeSize, /* Dummy: unused by this implementation */
- Tcl_LoadHandle *loadHandle, /* Dummy: unused by this implementation */
- Tcl_FSUnloadFileProc **unloadProcPtr,
- /* Dummy: unused by this implementation */
- int flags)
- /* Dummy: unused by this implementation */
+ TCL_UNUSED(void *),
+ TCL_UNUSED(int),
+ TCL_UNUSED(int),
+ TCL_UNUSED(Tcl_LoadHandle *),
+ TCL_UNUSED(Tcl_FSUnloadFileProc **),
+ TCL_UNUSED(int))
{
if (interp) {
Tcl_SetObjResult(interp, Tcl_NewStringObj("dynamic loading from memory "