diff options
author | gene <gene@cvs.openbsd.org> | 1997-11-11 22:46:27 +0000 |
---|---|---|
committer | gene <gene@cvs.openbsd.org> | 1997-11-11 22:46:27 +0000 |
commit | 495e90d12de21424292515a57020ceeceec9711f (patch) | |
tree | e429937da48a9faaf1a87d3068c3855d42110c20 /sys/arch/mac68k/include/iteioctl.h | |
parent | f47c5a3368cf9fd0d21f24b577fe9def5fc01e2c (diff) |
Pull in sys/ioctl.h since things like dt seem to depend on this include.
Also, KNF and multi-inclusion protection.
Diffstat (limited to 'sys/arch/mac68k/include/iteioctl.h')
-rw-r--r-- | sys/arch/mac68k/include/iteioctl.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/arch/mac68k/include/iteioctl.h b/sys/arch/mac68k/include/iteioctl.h index e5f3875bbd5..493390adefa 100644 --- a/sys/arch/mac68k/include/iteioctl.h +++ b/sys/arch/mac68k/include/iteioctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iteioctl.h,v 1.3 1997/04/06 02:59:55 briggs Exp $ */ +/* $OpenBSD: iteioctl.h,v 1.4 1997/11/11 22:46:26 gene Exp $ */ /* $NetBSD: iteioctl.h,v 1.1 1994/12/03 23:34:31 briggs Exp $ */ /*- @@ -33,12 +33,16 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: iteioctl.h,v 1.3 1997/04/06 02:59:55 briggs Exp $ + * $Id: iteioctl.h,v 1.4 1997/11/11 22:46:26 gene Exp $ * */ +#ifndef _MACHINE_ITEIOCTL_H_ +#define _MACHINE_ITEIOCTL_H_ -struct bellparams{ +#include <sys/ioctl.h> + +struct bellparams { int freq; /* hertz frequency */ int len; /* length in clock ticks */ int vol; /* percentage volume */ @@ -48,3 +52,5 @@ struct bellparams{ #define ITEIOC_GETBELL _IOR('I', 128, struct bellparams) #define ITEIOC_SETBELL _IOW('I', 129, struct bellparams) #define ITEIOC_RINGBELL _IO('I', 130) + +#endif /* _MACHINE_ITEIOCTL_H_ */ |