diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-12-15 14:46:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-12-15 14:46:11 (GMT) |
commit | 4fb66d5d55a3239a342ae799da586966fe8326cf (patch) | |
tree | bde9681917ff48b59d2fafff4aa3b65a73e26559 /generic/tclUtil.c | |
parent | 556dc3036e36d2449fe4feaece94487adfd745b8 (diff) | |
download | tcl-4fb66d5d55a3239a342ae799da586966fe8326cf.zip tcl-4fb66d5d55a3239a342ae799da586966fe8326cf.tar.gz tcl-4fb66d5d55a3239a342ae799da586966fe8326cf.tar.bz2 |
Mark TclPrecTraceProc() as deprecated, and remove it when compiling with -DTCL_NO_DEPRECATED. See TIP #488
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index 51af016..d84163c 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -3298,6 +3298,7 @@ Tcl_PrintDouble( *---------------------------------------------------------------------- */ +#if !defined(TCL_NO_DEPRECATED) && TCL_MAJOR_VERSION < 9 /* ARGSUSED */ char * TclPrecTraceProc( @@ -3355,6 +3356,7 @@ TclPrecTraceProc( *precisionPtr = prec; return NULL; } +#endif /* !TCL_NO_DEPRECATED)*/ /* *---------------------------------------------------------------------- |