summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>1999-08-20 19:42:01 +0000
committerken <ken@FreeBSD.org>1999-08-20 19:42:01 +0000
commite9ceff94f296890ef2ef7a2f056f5364bcae8777 (patch)
tree34cedfbf577770f730913baf3456d433def5a6a6 /sys
parent9fb26545f7a43117e66ae2a748509244fa01ba67 (diff)
downloadFreeBSD-src-e9ceff94f296890ef2ef7a2f056f5364bcae8777.zip
FreeBSD-src-e9ceff94f296890ef2ef7a2f056f5364bcae8777.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/ptio.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/sys/sys/ptio.h b/sys/sys/ptio.h
index e25f1d7..dd4f149 100644
--- a/sys/sys/ptio.h
+++ b/sys/sys/ptio.h
@@ -1,4 +1,4 @@
-/*
+/*-
* Copyright (c) 1999 Kenneth D. Merry.
* All rights reserved.
*
@@ -23,17 +23,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* 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
-#include <sys/types.h>
-#endif
+#ifndef _SYS_PTIO_H_
+#define _SYS_PTIO_H_
+
#include <sys/ioccom.h>
-#define PTIOCGETTIMEOUT _IOR('T', 1, int)
-#define PTIOCSETTIMEOUT _IOW('T', 2, int)
+#define PTIOCGETTIMEOUT _IOR('T', 1, int)
+#define PTIOCSETTIMEOUT _IOW('T', 2, int)
-#endif /* !_SYS_PTIO_H */
+#endif /* !_SYS_PTIO_H_ */
OpenPOWER on IntegriCloud