mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
ebedb5ad97
- don't include <sys/ioctl.h> in any header. Include <sys/ioccom.h> instead. This was already done in 4.4Lite for the most important ioctl headers. Header spam currently increases kernel build times by 10-20%. There are more than 30000 #includes (not counting duplicates) for compiling LINT. - include <sys/types.h> if and only it is necessary to make the header almost self-sufficient (some ioctl headers still need structs from elsewhere). - uniformized idempotency ifdefs. Copied the style in the 4.4Lite ioctl headers.
25 lines
710 B
C
25 lines
710 B
C
/*
|
|
* Copyright (C) 1994 Geoffrey M. Rehmet
|
|
*
|
|
* This program is free software; you may redistribute it and/or
|
|
* modify it, provided that it retain the above copyright notice
|
|
* and the following disclaimer.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
*
|
|
* Geoff Rehmet, Rhodes University, South Africa <csgr@cs.ru.ac.za>
|
|
*
|
|
* $Id: lpt.h,v 1.3 1995/05/30 08:00:41 rgrimes Exp $
|
|
*/
|
|
|
|
#ifndef _MACHINE_LPT_H_
|
|
#define _MACHINE_LPT_H_
|
|
|
|
#include <sys/ioccom.h>
|
|
|
|
#define LPT_IRQ _IOW('p', 1, long) /* set interrupt status */
|
|
|
|
#endif /* !_MACHINE_LPT_H_ */
|