Use the CTASSERT() macro instead of rolling my own, non-portable one
using #error. Suggested by: jhb
This commit is contained in:
parent
3da063baf7
commit
044ba81b85
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user