summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-04-15 17:34:09 (GMT)
committerhobbs <hobbs>2000-04-15 17:34:09 (GMT)
commitd41d5cc057126f0420acc1ce8ce30b60fe8cf709 (patch)
tree40cb4993a3edf57365282e8447ca715c15ef8cfe /generic
parente3c61812754fdae4c8f5caf5876587ab63dd0e93 (diff)
downloadtcl-d41d5cc057126f0420acc1ce8ce30b60fe8cf709.zip
tcl-d41d5cc057126f0420acc1ce8ce30b60fe8cf709.tar.gz
tcl-d41d5cc057126f0420acc1ce8ce30b60fe8cf709.tar.bz2
* generic/tclBasic.c (Tcl_GetVersion): adjusted use of major/minor
to not conflict with global decl on some systems [Bug: 2882]
Diffstat (limited to 'generic')
-rw-r--r--generic/tclBasic.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index a310ca6..9a73e94 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.26 2000/04/10 00:27:03 hobbs Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.27 2000/04/15 17:34:09 hobbs Exp $
*/
#include "tclInt.h"
@@ -4232,20 +4232,20 @@ Tcl_AllowExceptions(interp)
*----------------------------------------------------------------------
*/
-void Tcl_GetVersion(major, minor, patchLevel, type)
- int *major;
- int *minor;
- int *patchLevel;
+void Tcl_GetVersion(majorV, minorV, patchLevelV, type)
+ int *majorV;
+ int *minorV;
+ int *patchLevelV;
int *type;
{
- if (major != NULL) {
- *major = TCL_MAJOR_VERSION;
+ if (majorV != NULL) {
+ *majorV = TCL_MAJOR_VERSION;
}
- if (minor != NULL) {
- *minor = TCL_MINOR_VERSION;
+ if (minorV != NULL) {
+ *minorV = TCL_MINOR_VERSION;
}
- if (patchLevel != NULL) {
- *patchLevel = TCL_RELEASE_SERIAL;
+ if (patchLevelV != NULL) {
+ *patchLevelV = TCL_RELEASE_SERIAL;
}
if (type != NULL) {
*type = TCL_RELEASE_LEVEL;