fxbldno.c: minor warning fixes.

This commit is contained in:
sezero
2018-08-30 15:40:32 +03:00
parent 11f9ba7f56
commit e2dd1b0ba0
8 changed files with 28 additions and 32 deletions

View File

@@ -26,7 +26,7 @@
#include <stdio.h>
#include <time.h>
main(int argc, char **argv)
int main(void)
{
struct tm locTime;
time_t sysTime;
@@ -35,7 +35,7 @@ main(int argc, char **argv)
time(&sysTime);
locTime = *localtime(&sysTime);
if (build = getenv("BUILD_NUMBER")) {
if ((build = getenv("BUILD_NUMBER")) != NULL) {
printf("#define BUILD_NUMBER %s\n", build);
} else {
unsigned short magic;

View File

@@ -16,7 +16,7 @@
* THE UNITED STATES.
*
* COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
*
*
* 1 7/25/97 9:05a Pgj
* generate fxbldno.h which defines BUILD_NUMBER
*
@@ -26,7 +26,7 @@
#include <stdio.h>
#include <time.h>
main(int argc, char **argv)
int main(void)
{
struct tm locTime;
time_t sysTime;
@@ -35,7 +35,7 @@ main(int argc, char **argv)
time(&sysTime);
locTime = *localtime(&sysTime);
if (build = getenv("BUILD_NUMBER")) {
if ((build = getenv("BUILD_NUMBER")) != NULL) {
printf("#define BUILD_NUMBER %s\n", build);
} else {
unsigned short magic;

View File

@@ -16,10 +16,10 @@
* THE UNITED STATES.
*
* COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
**
**
** 3 3/17/99 6:16p Dow
** Phantom Menace and other fixes.
*
*
* 1 7/25/97 9:05a Pgj
* generate fxbldno.h which defines BUILD_NUMBER
*
@@ -29,7 +29,7 @@
#include <stdio.h>
#include <time.h>
main(int argc, char **argv)
int main(void)
{
struct tm locTime;
time_t sysTime;
@@ -38,7 +38,7 @@ main(int argc, char **argv)
time(&sysTime);
locTime = *localtime(&sysTime);
if (build = getenv("BUILD_NUMBER")) {
if ((build = getenv("BUILD_NUMBER")) != NULL) {
printf("#define BUILD_NUMBER %s\n", build);
} else {
unsigned short magic;

View File

@@ -16,7 +16,7 @@
* THE UNITED STATES.
*
* COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
*
*
* 1 7/25/97 9:05a Pgj
* generate fxbldno.h which defines BUILD_NUMBER
*
@@ -26,7 +26,7 @@
#include <stdio.h>
#include <time.h>
main(int argc, char **argv)
int main(void)
{
struct tm locTime;
time_t sysTime;
@@ -35,7 +35,7 @@ main(int argc, char **argv)
time(&sysTime);
locTime = *localtime(&sysTime);
if (build = getenv("BUILD_NUMBER")) {
if ((build = getenv("BUILD_NUMBER")) != NULL) {
printf("#define BUILD_NUMBER %s\n", build);
} else {
unsigned short magic;

View File

@@ -16,14 +16,14 @@
* THE UNITED STATES.
*
* COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
**
**
** 1 10/08/98 11:30a Brent
**
**
** 2 7/24/98 1:41p Hohn
*
*
* 1 1/16/98 4:29p Atai
* create glide 3 src
*
*
* 1 7/25/97 9:05a Pgj
* generate fxbldno.h which defines BUILD_NUMBER
*
@@ -33,7 +33,7 @@
#include <stdio.h>
#include <time.h>
main(int argc, char **argv)
int main(void)
{
struct tm locTime;
time_t sysTime;
@@ -42,7 +42,7 @@ main(int argc, char **argv)
time(&sysTime);
locTime = *localtime(&sysTime);
if (build = getenv("BUILD_NUMBER")) {
if ((build = getenv("BUILD_NUMBER")) != NULL) {
printf("#define BUILD_NUMBER %s\n", build);
} else {
unsigned short magic;

View File

@@ -16,13 +16,13 @@
* THE UNITED STATES.
*
* COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
**
**
** 4 4/06/99 3:54p Dow
** Alt tab again.
*
*
* 1 1/16/98 4:29p Atai
* create glide 3 src
*
*
* 1 7/25/97 9:05a Pgj
* generate fxbldno.h which defines BUILD_NUMBER
*
@@ -32,7 +32,7 @@
#include <stdio.h>
#include <time.h>
main(int argc, char **argv)
int main(void)
{
struct tm locTime;
time_t sysTime;
@@ -41,7 +41,7 @@ main(int argc, char **argv)
time(&sysTime);
locTime = *localtime(&sysTime);
if (build = getenv("BUILD_NUMBER")) {
if ((build = getenv("BUILD_NUMBER")) != NULL) {
printf("#define BUILD_NUMBER %s\n", build);
} else {
unsigned short magic;

View File

@@ -25,10 +25,10 @@
* comments and new legal headers.
* 1 3dfx 1.0 09/11/99 StarTeam VTS Administrator
* $
*
*
* 1 1/16/98 4:29p Atai
* create glide 3 src
*
*
* 1 7/25/97 9:05a Pgj
* generate fxbldno.h which defines BUILD_NUMBER
*
@@ -38,7 +38,7 @@
#include <stdio.h>
#include <time.h>
int main (void)
int main(void)
{
struct tm locTime;
time_t sysTime;

View File

@@ -20,10 +20,6 @@
* Revision 1.1.2.1 2004/03/02 07:55:29 dborca
* Bastardised Glide3x for SST1
*
* Revision 1.1.1.1 1999/12/07 21:48:51 joseph
* Initial checkin into SourceForge.
*
*
* 1 7/25/97 9:05a Pgj
* generate fxbldno.h which defines BUILD_NUMBER
*
@@ -33,7 +29,7 @@
#include <stdio.h>
#include <time.h>
main(int argc, char **argv)
int main(void)
{
struct tm locTime;
time_t sysTime;
@@ -42,7 +38,7 @@ main(int argc, char **argv)
time(&sysTime);
locTime = *localtime(&sysTime);
if (build = getenv("BUILD_NUMBER")) {
if ((build = getenv("BUILD_NUMBER")) != NULL) {
printf("#define BUILD_NUMBER %s\n", build);
} else {
unsigned short magic;