From 4b38ca7df5b658d6b24afb68cf1d506055636e95 Mon Sep 17 00:00:00 2001 From: joye Date: Wed, 4 Sep 2013 19:24:42 +0000 Subject: *** empty log message *** --- src/bltParse.h | 8 ++++---- src/bltVector.C | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/bltParse.h b/src/bltParse.h index bdb1ed6..c56f3d6 100644 --- a/src/bltParse.h +++ b/src/bltParse.h @@ -36,12 +36,12 @@ struct _ParseValue { ClientData clientData; }; -int Blt_ParseBraces(Tcl_Interp *interp, const char *string, +extern int Blt_ParseBraces(Tcl_Interp *interp, const char *string, const char **termPtr, ParseValue *pvPtr); -int Blt_ParseNestedCmd(Tcl_Interp *interp, const char *string, +extern int Blt_ParseNestedCmd(Tcl_Interp *interp, const char *string, int flags, const char **termPtr, ParseValue *pvPtr); -int Blt_ParseQuotes(Tcl_Interp *interp, const char *string, +extern int Blt_ParseQuotes(Tcl_Interp *interp, const char *string, int termChar, int flags, const char **termPtr, ParseValue * pvPtr); -void Blt_ExpandParseValue(ParseValue *pvPtr, int needed); +extern void Blt_ExpandParseValue(ParseValue *pvPtr, int needed); #endif diff --git a/src/bltVector.C b/src/bltVector.C index b876872..fa6ee88 100644 --- a/src/bltVector.C +++ b/src/bltVector.C @@ -47,6 +47,7 @@ #include "bltNsUtil.h" #include "bltSwitch.h" #include +#include #ifndef TCL_NAMESPACE_ONLY #define TCL_NAMESPACE_ONLY TCL_GLOBAL_ONLY @@ -706,7 +707,7 @@ UnmapVariable(Vector *vPtr) Tcl_UnsetVar2(interp, vPtr->arrayName, (char *)NULL, vPtr->varFlags); if (vPtr->arrayName != NULL) { - free(vPtr->arrayName); + free((void*)(vPtr->arrayName)); vPtr->arrayName = NULL; } } -- cgit v0.12