Use the CTASSERT() macro instead of rolling my own, non-portable one

using #error.

Suggested by:	jhb
This commit is contained in:
Brooks Davis 2005-03-24 19:26:50 +00:00
parent 3da063baf7
commit 044ba81b85

View File

@ -70,9 +70,7 @@ __FBSDID("$FreeBSD$");
#include <compat/linux/linux_mib.h>
#include <compat/linux/linux_util.h>
#if (LINUX_IFNAMSIZ != IFNAMSIZ)
#error "LINUX_IFNAMSIZ != IFNAMSIZ"
#endif
CTASSERT(LINUX_IFNAMSIZ == IFNAMSIZ);
static linux_ioctl_function_t linux_ioctl_cdrom;
static linux_ioctl_function_t linux_ioctl_vfat;