summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-23 13:49:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-23 13:49:01 (GMT)
commit84e3fb460607d9f15c570f0f4b9b8e3a33b6c559 (patch)
tree4c44f674724aef22717e0efab79ff4896b96ac00 /unix
parent154f6e364d28d67ef3d2f09c4a991d46e53ad2d4 (diff)
parentab4c7318fd564b0196bd38b6573eb84c9d51e2d1 (diff)
downloadtcl-84e3fb460607d9f15c570f0f4b9b8e3a33b6c559.zip
tcl-84e3fb460607d9f15c570f0f4b9b8e3a33b6c559.tar.gz
tcl-84e3fb460607d9f15c570f0f4b9b8e3a33b6c559.tar.bz2
make some more internal tables const
Diffstat (limited to 'unix')
-rw-r--r--unix/tcl.m42
-rw-r--r--unix/tclUnixChan.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 222c375..85b48fa 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2088,7 +2088,7 @@ dnl # preprocessing tests use only CPPFLAGS.
SHARED_LIB_SUFFIX='${VERSION}${SHLIB_SUFFIX}'])
AS_IF([test "$UNSHARED_LIB_SUFFIX" = ""], [
UNSHARED_LIB_SUFFIX='${VERSION}.a'])
- DLL_INSTALL_DIR="\$(LIB_INSTALL_DIR)"
+ DLL_INSTALL_DIR="\$(LIB_INSTALL_DIR)"
AS_IF([test "${SHARED_BUILD}" = 1 -a "${SHLIB_SUFFIX}" != ""], [
LIB_SUFFIX=${SHARED_LIB_SUFFIX}
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 866d77d..db137aa 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -981,7 +981,7 @@ TtyGetOptionProc(
# define TtyGetBaud(speed) ((int) (speed))
#else /* !DIRECT_BAUD */
-static struct {int baud; unsigned long speed;} speeds[] = {
+static CONST struct {int baud; unsigned long speed;} speeds[] = {
#ifdef B0
{0, B0},
#endif