Overview
| Artifact ID: | 14aa87c56001c271ef7a43e1529ccadb75c2a0f8 |
|---|---|
| Ticket: | 1214355fffffffffffffffffffffffffffffffff
compile warnings: redeclaration of static functions |
| User & Date: | techentin on 2005-06-03 16:23:17 |
Changes
- assignee changed to: "mdejong"
- cmimetype changed to: "text/plain"
- comment changed to:
Building Tcl 8.4.10 RC1 on HP-UX using the native compiler, I get minor compile warnings in tclDate.c, tclEncoding.c, and tclIOUtil.c. In all three cases, static functions should be uniformly declared static. I suggest these changes: --- tclDate.c.orig 2005-03-15 11:53:35.000000000 -0600 +++ tclDate.c 2005-06-03 08:02:30.569926000 -0500 @@ -158,7 +158,7 @@ #endif #endif #ifndef TclDatelex - int TclDatelex(void); + static int TclDatelex(void); #endif int TclDateparse(void); #if defined(__cplusplus) && defined(__EXTERN_C__) --- tclEncoding.c.orig 2005-06-02 17:13:59.000000000 -0500 +++ tclEncoding.c 2005-06-03 08:03:37.808642000 -0500 @@ -2970,7 +2970,7 @@ *------------------------------------------------------------------------- */ -int +static int TclFindEncodings(argv0) CONST char *argv0; /* Name of executable from argv[0] to main() * in native multi-byte encoding. */ --- tclIOUtil.c.orig 2005-05-24 12:48:46.000000000 -0500 +++ tclIOUtil.c 2005-06-03 08:04:29.830093000 -0500 @@ -1319,7 +1319,7 @@ * *--------------------------------------------------------------------------- */ -Tcl_Obj* +static Tcl_Obj* TclFSNormalizeAbsolutePath(interp, pathPtr, clientDataPtr) Tcl_Interp* interp; /* Interpreter to use */ Tcl_Obj *pathPtr; /* Absolute path to normalize */ - foundin changed to: "obsolete: 8.4.10"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "techentin"
- subsystem changed to: "52. Portability Support"
- title changed to:
compile warnings: redeclaration of static functions
- type changed to: "Bug"