mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 01:30:43 +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_mib.h>
|
||||||
#include <compat/linux/linux_util.h>
|
#include <compat/linux/linux_util.h>
|
||||||
|
|
||||||
#if (LINUX_IFNAMSIZ != IFNAMSIZ)
|
CTASSERT(LINUX_IFNAMSIZ == IFNAMSIZ);
|
||||||
#error "LINUX_IFNAMSIZ != IFNAMSIZ"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static linux_ioctl_function_t linux_ioctl_cdrom;
|
static linux_ioctl_function_t linux_ioctl_cdrom;
|
||||||
static linux_ioctl_function_t linux_ioctl_vfat;
|
static linux_ioctl_function_t linux_ioctl_vfat;
|
||||||
|
Loading…
Reference in New Issue
Block a user