removed some static vars relying on cvs revision number.

This commit is contained in:
sezero
2018-08-03 17:10:05 +03:00
parent 944b60eac8
commit d7086902f1
12 changed files with 4 additions and 71 deletions

View File

@@ -1,4 +1,3 @@
/*-*-c++-*-*/
#ifndef __FXHAL_H__
#define __FXHAL_H__
@@ -32,9 +31,6 @@
#include <cvginfo.h>
// Allow SourceSafe to track Revision values
#define HAL_H_REV "$Revision$"
// Just to unconfuse myself:
//
// CHIP FBI-REV TMU-REV DEV-ID

View File

@@ -2,4 +2,4 @@
#define MANREVISION 1
#define BUILD_NUMBER 1
#define VERSIONSTR "Voodoo2 InitCode " "$Revision$" "\0"
#define VERSIONSTR "Voodoo2 InitCode " "$Revision: 1 $" "\0"

View File

@@ -18,10 +18,6 @@
**
** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
**
**
** $Revision$
** $Date$
**
*/
/*
@@ -170,9 +166,6 @@
#include <windows.h>
#endif
// Allow SourceSafe to track Revision
static char codeIdent[] = "@#%" VERSIONSTR ;
/*
** sst1InitMapBoard():
** Find and map SST-1 board into virtual memory
@@ -230,10 +223,6 @@ FX_EXPORT FxU32 * FX_CSTYLE sst1InitMapBoardDirect(FxU32 BoardNumber,
* board which will (of course) fail to map.
*/
if(firstTime) {
// Make Watcom happy
codeIdent[0] = '@';
headersIdent[0] = '@';
// Find "voodoo2.ini" file if it exists...
sst1InitUseVoodooFile = sst1InitVoodooFile();
@@ -255,10 +244,6 @@ FX_EXPORT FxU32 * FX_CSTYLE sst1InitMapBoardDirect(FxU32 BoardNumber,
if( clearBoardInfo ) {
INIT_PRINTF(("sst1Init Routines"));
#ifdef FX_DLL_ENABLE
INIT_PRINTF(("(DLL)"));
#endif
INIT_PRINTF((": %s\n", VERSIONSTR));
INIT_PRINTF(("sst1InitMapBoard(): BoardsInSystem = %d\n",
boardsInSystem));

View File

@@ -1,4 +1,3 @@
/*-*-c++-*-*/
/*
** THIS SOFTWARE IS SUBJECT TO COPYRIGHT PROTECTION AND IS OFFERED ONLY
** PURSUANT TO THE 3DFX GLIDE GENERAL PUBLIC LICENSE. THERE IS NO RIGHT
@@ -18,20 +17,12 @@
**
** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
**
**
** $Revision$
** $Date$
**
*/
#ifndef __SST1INIT_H__
#define __SST1INIT_H__
/*
**
** $Revision$
** $Date$
**
** SST-1 Initialization routine protypes
**
** If all initialization routines are called, it is assumed they are called
@@ -764,7 +755,6 @@ extern "C" {
#endif
#ifdef SST1INIT_ALLOCATE
static char headersIdent[] = "@#%Voodoo2 InitHeaders $Revision$";
FxBool sst1InitUseVoodooFile = FXFALSE;
sst1InitEnvVarStruct *envVarsBase = (sst1InitEnvVarStruct *) NULL;
sst1InitDacStruct *dacStructBase = (sst1InitDacStruct *) NULL;

View File

@@ -1,5 +1,3 @@
/*
** THIS SOFTWARE IS SUBJECT TO COPYRIGHT PROTECTION AND IS OFFERED ONLY
** PURSUANT TO THE 3DFX GLIDE GENERAL PUBLIC LICENSE. THERE IS NO RIGHT
@@ -34,9 +32,6 @@
#include <h3info.h>
// Allow SourceSafe to track Revision values
#define HAL_H_REV "$Revision$"
// Just to unconfuse myself:
//
// CHIP FBI-REV TMU-REV DEV-ID

View File

@@ -32,9 +32,6 @@
#include <h3info.h>
// Allow SourceSafe to track Revision values
#define HAL_H_REV "$Revision$"
/*
* Just to confuse you:
* CHIP FBI-REV TMU-REV DEV-ID

View File

@@ -20,7 +20,6 @@
** $Date$
**
*/
static char revString[] = "@#%$Workfile: INIT96.C $ $Revision$";
/* ANSI Headers */
#include <stdlib.h>
@@ -702,10 +701,8 @@ INITVG96ENTRY(init96MapBoard, FxBool , (void *rd, void *info, FxU16 vID, FxU16 d
vendorID = vID,
deviceID = dID;
GDBG_INFO((80, "SST-96 Initialization code %s\n", revString));
/* Watcom warning suppression */
revString[0] = revString[0];
GDBG_INFO((80, "SST-96 Initialization code\n"));
/* !!! FIXME hack for vxd bug */
putenv( "SST_DUALHEAD=1" );

View File

@@ -19,7 +19,6 @@
** $Date$
**
*/
static char revString[] = "@#%$Workfile: initat3d.c $ $Revision$";
#define INIT_AT3D_LIB
#include <3dfx.h>
@@ -771,9 +770,6 @@ INITAT3DENTRY(initAT3DEnableRegs,FxBool,(InitRegisterDesc *rd))
GDBG_INFO((80, "%s:\n", FN_NAME));
/* Watcom warning suppression */
revString[0] = revString[0];
GDBG_INFO((80, "%s: Enabling writes to AT3D registers\n", FN_NAME));
GDBG_INFO((80, "%s: Setting VGA sequencer to point at flat model control\n", FN_NAME));
GDBG_INFO((80, "%s: 6MB Memory Aperture\n", FN_NAME));
@@ -1352,9 +1348,6 @@ INITAT3DENTRY(initAT3DGetInfo,FxBool,(VG96Info *info))
GDBG_INFO((80, "%s:\n", FN_NAME));
/* Watcom warning suppression */
revString[0] = revString[0];
info->vgaChip = 0;
info->vg96Rev = 0;

View File

@@ -22,7 +22,6 @@
** $Date$
**
*/
static char revString[] = "@#%$Workfile: initmcrx.c $ $Revision$";
#include <3dfx.h>
@@ -602,9 +601,6 @@ INITMCRXENTRY(initMCRXGetInfo,FxBool,(VG96Info *info))
/* We care about bit 5 & 6 */
mBytesPow = ((res >> 5) & 3);
/* Watcom warning suppression */
revString[0] = revString[0];
info->vgaChip = 0;
info->vg96Rev = 0;

View File

@@ -22,4 +22,4 @@
#define MANREVISION 1
#define BUILD_NUMBER 1
#define VERSIONSTR "InitCode " "$Revision$" "\0"
#define VERSIONSTR "InitCode " "$Revision: 1 $" "\0"

View File

@@ -141,9 +141,6 @@
#include <windows.h>
#endif
/* Allow SourceSafe to track Revision */
static char codeIdent[] = "@#%" VERSIONSTR ;
/*
** sst1InitMapBoard():
** Find and map SST-1 board into virtual memory
@@ -162,10 +159,6 @@ FX_EXPORT FxU32 * FX_CSTYLE sst1InitMapBoard(FxU32 BoardNumber)
FxU32 n, j;
if(firstTime) {
/* Make Watcom happy */
codeIdent[0] = '@';
headersIdent[0] = '@';
/* Find "voodoo.ini" file if it exists... */
sst1InitUseVoodooFile = sst1InitVoodooFile();
@@ -175,10 +168,6 @@ FX_EXPORT FxU32 * FX_CSTYLE sst1InitMapBoard(FxU32 BoardNumber)
if(BoardNumber == 0) {
INIT_PRINTF(("sst1Init Routines"));
#ifdef FX_DLL_ENABLE
INIT_PRINTF(("(DLL)"));
#endif
INIT_PRINTF((": %s\n", VERSIONSTR));
INIT_PRINTF(("sst1InitMapBoard(): BoardsInSystem = %d\n",
boardsInSystem));

View File

@@ -17,10 +17,6 @@
**
** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
**
**
** $Revision$
** $Date$
**
*/
#ifndef __SST1INIT_H__
@@ -675,7 +671,6 @@ extern "C" {
#endif
#ifdef SST1INIT_ALLOCATE
static char headersIdent[] = "@#%InitHeaders $Revision$";
FxBool sst1InitUseVoodooFile = FXFALSE;
sst1InitEnvVarStruct *envVarsBase = (sst1InitEnvVarStruct *) NULL;
sst1InitDacStruct *dacStructBase = (sst1InitDacStruct *) NULL;