Cleanup _FreeBSD_version.

This commit is contained in:
Gleb Smirnoff 2005-12-09 13:03:30 +00:00
parent 64806a739b
commit 02d48226cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153266

View File

@ -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));