Move CTASSERT from header file to source file, per implementation note now

in the CTASSERT man page.

Submitted by:	Ryan Stone
This commit is contained in:
Ed Maste 2008-09-26 18:30:11 +00:00
parent 0d44ba5d7e
commit d2035ffb7a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183388
2 changed files with 4 additions and 4 deletions

View File

@ -69,10 +69,6 @@ struct ip {
struct in_addr ip_src,ip_dst; /* source and dest address */
} __packed __aligned(4);
#ifdef CTASSERT
CTASSERT(sizeof (struct ip) == 20);
#endif
#define IP_MAXPACKET 65535 /* maximum packet size */
/*

View File

@ -85,6 +85,10 @@ __FBSDID("$FreeBSD$");
#include <security/mac/mac_framework.h>
#ifdef CTASSERT
CTASSERT(sizeof(struct ip) == 20);
#endif
int rsvp_on = 0;
int ipforwarding = 0;