diff options
author | georgeps <georgeps> | 2005-08-17 23:48:33 (GMT) |
---|---|---|
committer | georgeps <georgeps> | 2005-08-17 23:48:33 (GMT) |
commit | c571cc6a4f29c81a3ca8d6a0ab42c6a44187a5f1 (patch) | |
tree | b16d454987782d44936750f557549eb91af7e6b6 | |
parent | 2d51756d2fb2a61608c90343aeca6f945b3cd381 (diff) | |
download | tcl-c571cc6a4f29c81a3ca8d6a0ab42c6a44187a5f1.zip tcl-c571cc6a4f29c81a3ca8d6a0ab42c6a44187a5f1.tar.gz tcl-c571cc6a4f29c81a3ca8d6a0ab42c6a44187a5f1.tar.bz2 |
Added static to prevent a namespace clash with BuiltinFuncTable.
-rw-r--r-- | generic/tclBasic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 4414c52..04582b7 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.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: tclBasic.c,v 1.165 2005/08/05 18:50:27 kennykb Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.166 2005/08/17 23:48:33 georgeps Exp $ */ #include "tclInt.h" @@ -245,7 +245,7 @@ typedef struct { Tcl_ObjCmdProc* objCmdProc; /* Procedure that evaluates the function */ ClientData clientData; /* Client data for the procedure */ } BuiltinFuncDef; -BuiltinFuncDef BuiltinFuncTable[] = { +static BuiltinFuncDef BuiltinFuncTable[] = { { "::tcl::mathfunc::abs", ExprAbsFunc, NULL }, { "::tcl::mathfunc::acos", ExprUnaryFunc, (ClientData) acos }, { "::tcl::mathfunc::asin", ExprUnaryFunc, (ClientData) asin }, |