Skip to content
Tcl Source Code Artifact [14aa87c560]
Login

Artifact [14aa87c560]

Artifact 14aa87c56001c271ef7a43e1529ccadb75c2a0f8:

Ticket change [14aa87c560] - New ticket [1214355fffffffff|1214355fff] <i>compile warnings: redeclaration of static functions</i>. by techentin on 2005-06-03 16:23:17.
D 2005-06-03T16:23:17
J assignee mdejong
J cmimetype text/plain
J comment Building\sTcl\s8.4.10\sRC1\son\sHP-UX\susing\sthe\snative\ncompiler,\sI\sget\sminor\scompile\swarnings\sin\stclDate.c,\ntclEncoding.c,\sand\stclIOUtil.c.\s\sIn\sall\sthree\scases,\nstatic\sfunctions\sshould\sbe\suniformly\sdeclared\sstatic.\s\nI\ssuggest\sthese\schanges:\n\n---\stclDate.c.orig\s\s\s\s\s\s2005-03-15\s11:53:35.000000000\s-0600\n+++\stclDate.c\s\s\s2005-06-03\s08:02:30.569926000\s-0500\n@@\s-158,7\s+158,7\s@@\n\s#endif\n\s#endif\n\s#ifndef\sTclDatelex\n-\s\s\s\s\s\s\sint\sTclDatelex(void);\n+\s\s\s\s\s\s\sstatic\sint\sTclDatelex(void);\n\s#endif\n\s\s\s\s\s\s\s\sint\sTclDateparse(void);\n\s#if\sdefined(__cplusplus)\s&&\sdefined(__EXTERN_C__)\n\n\n\n---\stclEncoding.c.orig\s\s2005-06-02\s17:13:59.000000000\s-0500\n+++\stclEncoding.c\s\s\s\s\s\s\s2005-06-03\s08:03:37.808642000\s-0500\n@@\s-2970,7\s+2970,7\s@@\n\s\n*-------------------------------------------------------------------------\n\s\s*/\n\n-int\n+static\sint\n\sTclFindEncodings(argv0)\n\s\s\s\s\sCONST\schar\s*argv0;\s\s\s\s\s\s\s\s\s/*\sName\sof\sexecutable\nfrom\sargv[0]\sto\smain()\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s*\sin\snative\smulti-byte\nencoding.\s*/\n\n\n\n---\stclIOUtil.c.orig\s\s\s\s2005-05-24\s12:48:46.000000000\s-0500\n+++\stclIOUtil.c\s2005-06-03\s08:04:29.830093000\s-0500\n@@\s-1319,7\s+1319,7\s@@\n\s\s*\n\s\n*---------------------------------------------------------------------------\n\s\s*/\n-Tcl_Obj*\n+static\sTcl_Obj*\n\sTclFSNormalizeAbsolutePath(interp,\spathPtr,\sclientDataPtr)\n\s\s\s\s\sTcl_Interp*\sinterp;\s\s\s\s/*\sInterpreter\sto\suse\s*/\n\s\s\s\s\sTcl_Obj\s*pathPtr;\s\s\s\s\s\s/*\sAbsolute\spath\sto\nnormalize\s*/\n\n\n
J foundin obsolete:\s8.4.10
J priority 5\sMedium
J resolution None
J status Open
J submitter techentin
J subsystem 52.\sPortability\sSupport
J title compile\swarnings:\sredeclaration\sof\sstatic\sfunctions
J type Bug
K 1214355fffffffffffffffffffffffffffffffff
U techentin
Z ae52e6c8af3c0ece4598a78ee0950921