diff options
author | 2020-05-29 04:42:23 +0000 | |
---|---|---|
committer | 2020-05-29 04:42:23 +0000 | |
commit | c8f27247b9f5f282483daaddbfd1267ad73569c5 (patch) | |
tree | 6d0e42177fede279db31615833f24222d49ecf99 /sys/dev/rndvar.h | |
parent | Add regression and unit tests for ${ENV} style environment variable (diff) | |
download | wireguard-openbsd-c8f27247b9f5f282483daaddbfd1267ad73569c5.tar.xz wireguard-openbsd-c8f27247b9f5f282483daaddbfd1267ad73569c5.zip |
dev/rndvar.h no longer has statistical interfaces (removed during various
conversion steps). it only contains kernel prototypes for 4 interfaces,
all of which legitimately belong in sys/systm.h, which are already included
by all enqueue_randomness() users.
Diffstat (limited to 'sys/dev/rndvar.h')
-rw-r--r-- | sys/dev/rndvar.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/sys/dev/rndvar.h b/sys/dev/rndvar.h deleted file mode 100644 index f5e3b9fb9f0..00000000000 --- a/sys/dev/rndvar.h +++ /dev/null @@ -1,43 +0,0 @@ -/* $OpenBSD: rndvar.h,v 1.40 2020/05/25 15:24:32 deraadt Exp $ */ - -/* - * Copyright (c) 1996,2000 Michael Shalayeff. - * - * This software derived from one contributed by Theodore Ts'o. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ - -#ifndef __RNDVAR_H__ -#define __RNDVAR_H__ - -#ifdef _KERNEL -void random_start(int); - -void enqueue_randomness(unsigned int); -void suspend_randomness(void); -void resume_randomness(char *, size_t); - -#endif /* _KERNEL */ - -#endif /* __RNDVAR_H__ */ |