Move declaration of warninterval out from under COMPAT_FREEBSD32.
This fixes builds of kernels without COMPAT_FREEBSD32. Reported by: tinderbox MFC after: 1 month
This commit is contained in:
parent
7f6f4a4c07
commit
562c25dfaf
@ -146,11 +146,6 @@ struct cryptostats32 {
|
|||||||
#define CIOCGSESSION232 _IOWR('c', 106, struct session2_op32)
|
#define CIOCGSESSION232 _IOWR('c', 106, struct session2_op32)
|
||||||
#define CIOCKEY232 _IOWR('c', 107, struct crypt_kop32)
|
#define CIOCKEY232 _IOWR('c', 107, struct crypt_kop32)
|
||||||
|
|
||||||
static struct timeval warninterval = { .tv_sec = 60, .tv_usec = 0 };
|
|
||||||
SYSCTL_TIMEVAL_SEC(_kern, OID_AUTO, cryptodev_warn_interval, CTLFLAG_RW,
|
|
||||||
&warninterval,
|
|
||||||
"Delay in seconds between warnings of deprecated /dev/crypto algorithms");
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
session_op_from_32(const struct session_op32 *from, struct session_op *to)
|
session_op_from_32(const struct session_op32 *from, struct session_op *to)
|
||||||
{
|
{
|
||||||
@ -299,6 +294,11 @@ struct fcrypt {
|
|||||||
int sesn;
|
int sesn;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static struct timeval warninterval = { .tv_sec = 60, .tv_usec = 0 };
|
||||||
|
SYSCTL_TIMEVAL_SEC(_kern, OID_AUTO, cryptodev_warn_interval, CTLFLAG_RW,
|
||||||
|
&warninterval,
|
||||||
|
"Delay in seconds between warnings of deprecated /dev/crypto algorithms");
|
||||||
|
|
||||||
static int cryptof_ioctl(struct file *, u_long, void *,
|
static int cryptof_ioctl(struct file *, u_long, void *,
|
||||||
struct ucred *, struct thread *);
|
struct ucred *, struct thread *);
|
||||||
static int cryptof_stat(struct file *, struct stat *,
|
static int cryptof_stat(struct file *, struct stat *,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user