diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2010-02-05 11:47:22 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2010-02-05 11:47:22 (GMT) |
commit | 8080777070d8ea01dc413b1c57242d83b7393f49 (patch) | |
tree | 45e4bb8a98b6cb65c37f20c14fa26b2eb2f30082 /ChangeLog | |
parent | 3e2c1215a7115e506d67819f0831da51f8aa201a (diff) | |
download | tcl-8080777070d8ea01dc413b1c57242d83b7393f49.zip tcl-8080777070d8ea01dc413b1c57242d83b7393f49.tar.gz tcl-8080777070d8ea01dc413b1c57242d83b7393f49.tar.bz2 |
Use 'const' more often for pointers to read-only structures.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 33 |
1 files changed, 19 insertions, 14 deletions
@@ -1,20 +1,25 @@ +2010-02-05 Donal K. Fellows <dkf@users.sf.net> + + * generic/tclEncoding.c: Add 'const' to many function-internal vars + that are never pointing to things that are written to. + 2010-02-05 Jan Nijtmans <nijtmans@users.sf.net> * tools/genStubs.tcl: Follow-up to [2010-01-29] commit: - prevent space within stub table function parameters - if the parameter type is a pointer. - * win/tclWinInt.h Minor Formatting - * generic/tcl.h VOID -> void and other formatting - * generic/tclInt.h Minor formatting - * generic/tclInt.decls Change signature of TclNRInterpProcCore, - * generic/tclOO.decls and TclOONewProc(Instance|)MethodEx, - * generic/tclProc.c indicating that errorProc is a function, - * generic/tclOOMethod.c pointer, and other formatting - * generic/tcl*Decls.h (regenerated) - * generic/tclVar.c: gcc warning(line 3703): ‘pattern’ may be used - uninitialized in this function - gcc warning(line 3788): ‘matched’ may be used - uninitialized in this function + prevent space within stub table function parameters if the + parameter type is a pointer. + * win/tclWinInt.h: Minor Formatting + * generic/tcl.h: VOID -> void and other formatting + * generic/tclInt.h: Minor formatting + * generic/tclInt.decls: Change signature of TclNRInterpProcCore, + * generic/tclOO.decls: and TclOONewProc(Instance|)MethodEx, + * generic/tclProc.c: indicating that errorProc is a function, + * generic/tclOOMethod.c:pointer, and other formatting + * generic/tcl*Decls.h: (regenerated) + * generic/tclVar.c: gcc warning(line 3703): ‘pattern’ may be used + uninitialized in this function + gcc warning(line 3788): ‘matched’ may be used + uninitialized in this function 2010-02-04 Donal K. Fellows <dkf@users.sf.net> |