diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-23 13:49:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-23 13:49:01 (GMT) |
commit | 84e3fb460607d9f15c570f0f4b9b8e3a33b6c559 (patch) | |
tree | 4c44f674724aef22717e0efab79ff4896b96ac00 /unix | |
parent | 154f6e364d28d67ef3d2f09c4a991d46e53ad2d4 (diff) | |
parent | ab4c7318fd564b0196bd38b6573eb84c9d51e2d1 (diff) | |
download | tcl-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.m4 | 2 | ||||
-rw-r--r-- | unix/tclUnixChan.c | 2 |
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 |