mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 16:49:40 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144075
@ -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