removed some static vars relying on cvs revision number (glide2x side)

This commit is contained in:
sezero
2018-08-03 17:10:10 +03:00
parent d7086902f1
commit 2c11e03776
10 changed files with 4 additions and 59 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
@@ -229,10 +222,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();
@@ -254,10 +243,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
@@ -760,7 +751,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

@@ -32,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

@@ -20,7 +20,6 @@
** $Date$
**
*/
static char revString[] = "@#%$Workfile: INIT96.C $ $Revision$";
/* ANSI Headers */
#include <stdlib.h>
@@ -691,10 +690,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

@@ -22,7 +22,6 @@
** $Date$
**
*/
static char revString[] = "@#%$Workfile: initmcrx.c $ $Revision$";
#include <3dfx.h>
@@ -594,9 +593,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

@@ -139,9 +139,6 @@
#include <windows.h>
#endif
/* Allow SourceSafe to track Revision */
static char codeIdent[] = "@#%" VERSIONSTR ;
/*
** sst1InitMapBoard():
** Find and map SST-1 board into virtual memory
@@ -160,10 +157,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();
@@ -173,10 +166,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__
@@ -673,7 +669,6 @@ extern "C" {
#endif
#ifdef SST1INIT_ALLOCATE
static char headersIdent[] = "@#%InitHeaders $Revision$";
FxBool sst1InitUseVoodooFile = FXFALSE;
sst1InitEnvVarStruct *envVarsBase = (sst1InitEnvVarStruct *) NULL;
sst1InitDacStruct *dacStructBase = (sst1InitDacStruct *) NULL;