From c571cc6a4f29c81a3ca8d6a0ab42c6a44187a5f1 Mon Sep 17 00:00:00 2001 From: georgeps Date: Wed, 17 Aug 2005 23:48:33 +0000 Subject: Added static to prevent a namespace clash with BuiltinFuncTable. --- generic/tclBasic.c | 4 ++-- 1 file 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 }, -- cgit v0.12