Fixes for some style bugs in the initial version of this file:
- missing reformatting protection in copyright. - missing blank line after copyright. - unusual spelling of idempotency macro (no trailing underscore). - unusual value of idempotency macro (1 instead of <empty>). - space instead of tab after #define's. - unnecessary namespace pollution and extra code to give it. - tab instead of space after #endif. Submitted by: bde
This commit is contained in:
parent
9fb26545f7
commit
e9ceff94f2
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*-
|
||||||
* Copyright (c) 1999 Kenneth D. Merry.
|
* Copyright (c) 1999 Kenneth D. Merry.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@ -23,17 +23,15 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id: ptio.h,v 1.1 1999/08/20 03:48:11 ken Exp $
|
||||||
*/
|
*/
|
||||||
#ifndef _SYS_PTIO_H
|
|
||||||
#define _SYS_PTIO_H 1
|
|
||||||
|
|
||||||
#ifndef KERNEL
|
#ifndef _SYS_PTIO_H_
|
||||||
#include <sys/types.h>
|
#define _SYS_PTIO_H_
|
||||||
#endif
|
|
||||||
#include <sys/ioccom.h>
|
#include <sys/ioccom.h>
|
||||||
|
|
||||||
#define PTIOCGETTIMEOUT _IOR('T', 1, int)
|
#define PTIOCGETTIMEOUT _IOR('T', 1, int)
|
||||||
#define PTIOCSETTIMEOUT _IOW('T', 2, int)
|
#define PTIOCSETTIMEOUT _IOW('T', 2, int)
|
||||||
|
|
||||||
#endif /* !_SYS_PTIO_H */
|
#endif /* !_SYS_PTIO_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user