diff options
| author | nijtmans <nijtmans> | 2010-01-29 16:17:20 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2010-01-29 16:17:20 (GMT) |
| commit | e11bcaab9ea9367733ca6e1dd1a211bd551ab55a (patch) | |
| tree | 26f8bbc7ca7c8759763e62169bfefcb1310134a0 /generic/regguts.h | |
| parent | 94ed51c1a43b7461b630bbd1383a9ed177f88c54 (diff) | |
| download | tcl-e11bcaab9ea9367733ca6e1dd1a211bd551ab55a.zip tcl-e11bcaab9ea9367733ca6e1dd1a211bd551ab55a.tar.gz tcl-e11bcaab9ea9367733ca6e1dd1a211bd551ab55a.tar.bz2 | |
- genStubs.tcl: No longer generate a space after "*" and
immediately after a function name, so the
format of function definitions in tcl*Decls.h
matches all other tcl*.h header files.
- Change Tcl_ArgvFuncProc, Tcl_ArgvGenFuncProc
and GetFrameInfoValueProc to be function
definitions, not pointers, for consistency
with all other Tcl function definitions.
Diffstat (limited to 'generic/regguts.h')
| -rw-r--r-- | generic/regguts.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/generic/regguts.h b/generic/regguts.h index 67e3d03..f72542c 100644 --- a/generic/regguts.h +++ b/generic/regguts.h @@ -75,11 +75,6 @@ #define NOPARMS void /* for empty parm lists */ #endif -/* const */ -#ifndef CONST -#define CONST const /* for old compilers, might be empty */ -#endif - /* function-pointer declarator */ #ifndef FUNCPTR #if __STDC__ >= 1 @@ -400,7 +395,7 @@ struct guts { struct cnfa search; /* for fast preliminary search */ int ntree; struct colormap cmap; - int FUNCPTR(compare, (CONST chr *, CONST chr *, size_t)); + int FUNCPTR(compare, (const chr *, const chr *, size_t)); struct subre *lacons; /* lookahead-constraint vector */ int nlacons; /* size of lacons */ }; |
