summaryrefslogtreecommitdiffstats
path: root/generic/regguts.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-01-29 16:17:20 (GMT)
committernijtmans <nijtmans>2010-01-29 16:17:20 (GMT)
commit20dedb76e13ace251494944dae1a8e60d2f6d70a (patch)
tree26f8bbc7ca7c8759763e62169bfefcb1310134a0 /generic/regguts.h
parent2a36240c713f132ba78917496b237d879d5e2d58 (diff)
downloadtcl-20dedb76e13ace251494944dae1a8e60d2f6d70a.zip
tcl-20dedb76e13ace251494944dae1a8e60d2f6d70a.tar.gz
tcl-20dedb76e13ace251494944dae1a8e60d2f6d70a.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.h7
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 */
};