summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-12-09 13:03:30 +0000
committerglebius <glebius@FreeBSD.org>2005-12-09 13:03:30 +0000
commit5d0fbfa49f349b8c89639345f0f631d1e44596b4 (patch)
tree943320754ae33ab95714b264f5a976b2813cdda4 /sbin/ipfw
parent8848f7ef8652bec817750e299cf9685954cd28b5 (diff)
downloadFreeBSD-src-5d0fbfa49f349b8c89639345f0f631d1e44596b4.zip
FreeBSD-src-5d0fbfa49f349b8c89639345f0f631d1e44596b4.tar.gz
Cleanup _FreeBSD_version.
Diffstat (limited to 'sbin/ipfw')
-rw-r--r--sbin/ipfw/ipfw2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 86ba35f..28a8c98 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -1391,9 +1391,6 @@ show_ipfw(struct ip_fw *rule, int pcwidth, int bcwidth)
twidth = strlen(timestr);
}
if (rule->timestamp) {
-#if _FreeBSD_version < 500000 /* XXX check */
-#define _long_to_time(x) (time_t)(x)
-#endif
t = _long_to_time(rule->timestamp);
strcpy(timestr, ctime(&t));
OpenPOWER on IntegriCloud