summaryrefslogtreecommitdiff
path: root/usr.bin/make/targ.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2013-04-23 14:32:54 +0000
committerMarc Espie <espie@cvs.openbsd.org>2013-04-23 14:32:54 +0000
commit807802e4fcbf071e378f83c673d21947f4618003 (patch)
tree1388eb9649d1ec457aa32553030c8ea064b3ef48 /usr.bin/make/targ.c
parentc4cc8b028da2fc9b827b985714e472baec3e832d (diff)
remove TIMESTAMP abstraction layer, prodded by theo.
while there, clean up includes. use strtoll for ar timestamps (pretty much unused in reality, more standard conforming than anything) use idea from Todd to adapt to time_t being 32 bits OR 64 bits (pedantically correct: INT_MIN would work just fine up to 1910 or so...) okay millert@, gone thru a make build.
Diffstat (limited to 'usr.bin/make/targ.c')
-rw-r--r--usr.bin/make/targ.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c
index d50fd849940..c942476f698 100644
--- a/usr.bin/make/targ.c
+++ b/usr.bin/make/targ.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: targ.c,v 1.69 2012/10/09 19:45:34 espie Exp $ */
+/* $OpenBSD: targ.c,v 1.70 2013/04/23 14:32:53 espie Exp $ */
/* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */
/*
@@ -97,13 +97,13 @@
#include <limits.h>
#include <stddef.h>
-#include <stdio.h>
#include <stdint.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <ohash.h>
#include "config.h"
#include "defines.h"
-#include "ohash.h"
#include "stats.h"
#include "suff.h"
#include "var.h"