chiark / gitweb /
Makefile: Use lowercase `distdir'.
[rocl] / vec.c
diff --git a/vec.c b/vec.c
index c2aef2e21473d0a22175e50f5519555ae06ca123..912fb381d396d18cbf4d421217f3ad4f2d9de0ac 100644 (file)
--- a/vec.c
+++ b/vec.c
@@ -1,37 +1,27 @@
 /* -*-c-*-
- *
- * $Id: vec.c,v 1.1 2003/03/07 00:45:35 mdw Exp $
  *
  * Vectors and arrays in Tcl
  *
  * (c) 2003 Mark Wooding
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: vec.c,v $
- * Revision 1.1  2003/03/07 00:45:35  mdw
- * A multidimensional vector/matrix type which is updateable in place.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include <assert.h>
@@ -375,7 +365,8 @@ static int vec_new(ClientData cd, Tcl_Interp *ti,
   Tcl_IncrRefCount(init);
   if ((v = vec_create(ti, ndim, dim, init)) == 0)
     goto fail;
-  Tcl_SetResult(ti, Tcl_GetCommandName(ti, v->c), TCL_STATIC);
+  Tcl_SetResult(ti, (/*unconst */char *)Tcl_GetCommandName(ti, v->c),
+               TCL_STATIC);
   rc = TCL_OK;
 
 fail: