summaryrefslogtreecommitdiffstats
path: root/bin/ps/print.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-08-07 19:17:46 +0000
committerwollman <wollman@FreeBSD.org>1995-08-07 19:17:46 +0000
commitfc1f6c1d76677a4e8d2c39e5fa7be3716841930e (patch)
tree413738746625eee30af858d100ea794582067fa4 /bin/ps/print.c
parentc87e4ea046fafb0b07c7ac3335948b0743fed8b4 (diff)
downloadFreeBSD-src-fc1f6c1d76677a4e8d2c39e5fa7be3716841930e.zip
FreeBSD-src-fc1f6c1d76677a4e8d2c39e5fa7be3716841930e.tar.gz
Delete bogus referneces to timezone code internal header file `tzfile.h',
which is no longer bogusly installed in /usr/include.
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r--bin/ps/print.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index 8085f48..cf042d7 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: print.c,v 1.6 1995/03/19 13:29:01 joerg Exp $
+ * $Id: print.c,v 1.7 1995/05/30 00:07:04 rgrimes Exp $
*/
#ifndef lint
@@ -65,7 +65,6 @@ static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#include <stdlib.h>
#include <string.h>
#include <vis.h>
-#include <tzfile.h>
#include "ps.h"
@@ -369,11 +368,11 @@ started(k, ve)
tp = localtime(&k->ki_u.u_start.tv_sec);
if (!now)
(void)time(&now);
- if (now - k->ki_u.u_start.tv_sec < 24 * SECSPERHOUR) {
+ if (now - k->ki_u.u_start.tv_sec < 24 * 3600) {
/* I *hate* SCCS... */
static char fmt[] = __CONCAT("%l:%", "M%p");
(void)strftime(buf, sizeof(buf) - 1, fmt, tp);
- } else if (now - k->ki_u.u_start.tv_sec < 7 * SECSPERDAY) {
+ } else if (now - k->ki_u.u_start.tv_sec < 7 * 86400) {
/* I *hate* SCCS... */
static char fmt[] = __CONCAT("%a%", "I%p");
(void)strftime(buf, sizeof(buf) - 1, fmt, tp);
OpenPOWER on IntegriCloud