Sparc systems fixes

This commit is contained in:
Michiel Broek
2001-12-23 16:44:18 +00:00
parent 2ce85589e4
commit a372efaea8
62 changed files with 170 additions and 193 deletions

View File

@@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbmon/common.c
* $Id$
* Purpose ...............: Common utilities
* Last modification date : 10-Aug-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@@ -603,7 +602,7 @@ long gmt_offset(time_t now)
long offset;
if (!now)
time(&now);
now = time(NULL);
ptm = *localtime(&now);
/*

View File

@@ -372,7 +372,7 @@ void show_date(int fg, int bg, int y, int x)
time_t now;
char *p;
time(&now);
now = time(NULL);
if (now != lasttime) {
lasttime = now;
set_color(LIGHTGREEN, BLUE);