From e8985734d6cda50f61728ddbd81adc332fce3c58 Mon Sep 17 00:00:00 2001 From: ginsbach Date: Wed, 6 May 2009 02:59:12 +0000 Subject: Change getdate() to getdatestr() since the former maybe present on systems supporting X/Open System Interfaces Extension (XSI) getdate() in . This prevents a function prototype conflict. --- hack/hack.unix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hack/hack.unix.c') diff --git a/hack/hack.unix.c b/hack/hack.unix.c index 13f97244..6c8ca7e6 100644 --- a/hack/hack.unix.c +++ b/hack/hack.unix.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.unix.c,v 1.9 2003/04/02 18:36:41 jsm Exp $ */ +/* $NetBSD: hack.unix.c,v 1.10 2009/05/06 02:59:12 ginsbach Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.unix.c,v 1.9 2003/04/02 18:36:41 jsm Exp $"); +__RCSID("$NetBSD: hack.unix.c,v 1.10 2009/05/06 02:59:12 ginsbach Exp $"); #endif /* not lint */ /* This file collects some Unix dependencies; hack.pager.c contains some more */ @@ -118,7 +118,7 @@ getyear() } char * -getdate() +getdatestr() { static char datestr[7]; struct tm *lt = getlt(); -- cgit v1.2.3-56-ge451