summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-04-05 10:20:18 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-04-05 10:20:18 (GMT)
commit9e5f6a4c262a86fea22505621ce0ad59cc003075 (patch)
tree0e22c273617f7097629ccc6529d21e6384e6c45e
parentbd52d6035df1a821d013510801b9632b1691fdd3 (diff)
downloadtcl-9e5f6a4c262a86fea22505621ce0ad59cc003075.zip
tcl-9e5f6a4c262a86fea22505621ce0ad59cc003075.tar.gz
tcl-9e5f6a4c262a86fea22505621ce0ad59cc003075.tar.bz2
Fixed so tclCmdMZ.c will compile with K&R compilers [Patch #413844]
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclCmdMZ.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a1e3a57..73b029d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-05 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * generic/tclCmdMZ.c (Tcl_StringObjCmd): Fixed so will compile
+ with K&R compilers [Patch #413844, Bug #413847]
+
2001-04-04 Don Porter <dgp@users.sourceforge.net>
* unix/tclMain.c: Patch from Kevin Kenny to restore support of
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c
index 473a408..6cf9852 100644
--- a/generic/tclCmdMZ.c
+++ b/generic/tclCmdMZ.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCmdMZ.c,v 1.33 2001/03/28 02:30:06 hobbs Exp $
+ * RCS: @(#) $Id: tclCmdMZ.c,v 1.34 2001/04/05 10:20:18 dkf Exp $
*/
#include "tclInt.h"
@@ -1634,8 +1634,8 @@ Tcl_StringObjCmd(dummy, interp, objc, objv)
int mapElemc, nocase = 0;
Tcl_Obj **mapElemv;
Tcl_UniChar *ustring1, *ustring2, *p, *end;
- int (*strCmpFn)(CONST Tcl_UniChar*, CONST Tcl_UniChar*,
- unsigned long);
+ int (*strCmpFn)_ANSI_ARGS_((CONST Tcl_UniChar*,
+ CONST Tcl_UniChar*, unsigned long));
if (objc < 4 || objc > 5) {
Tcl_WrongNumArgs(interp, 2, objv, "?-nocase? charMap string");