aboutsummaryrefslogtreecommitdiff
path: root/bin/pax
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-08-07 19:17:46 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-08-07 19:17:46 +0000
commit656dcd4316d328f627e3c8f99be96bb2c41baf5b (patch)
tree413738746625eee30af858d100ea794582067fa4 /bin/pax
parent8e53a8e6fc66c9fbe9b277c18b90c11de39d7b7a (diff)
Notes
Diffstat (limited to 'bin/pax')
-rw-r--r--bin/pax/gen_subs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/pax/gen_subs.c b/bin/pax/gen_subs.c
index 42be017b05f1..2d228fc362ae 100644
--- a/bin/pax/gen_subs.c
+++ b/bin/pax/gen_subs.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: gen_subs.c,v 1.3 1995/03/19 13:28:49 joerg Exp $
+ * $Id: gen_subs.c,v 1.4 1995/05/30 00:06:58 rgrimes Exp $
*/
#ifndef lint
@@ -47,7 +47,6 @@ static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
#include <sys/param.h>
#include <stdio.h>
#include <ctype.h>
-#include <tzfile.h>
#include <utmp.h>
#include <unistd.h>
#include <stdlib.h>
@@ -64,7 +63,7 @@ static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
*/
#define MODELEN 20
#define DATELEN 64
-#define SIXMONTHS ((DAYSPERNYEAR / 2) * SECSPERDAY)
+#define SIXMONTHS ((365 / 2) * 86400)
#define CURFRMT "%b %e %H:%M"
#define OLDFRMT "%b %e %Y"
#ifndef UT_NAMESIZE