From 26db38df3e247fa6850fd377733a97817698b2c4 Mon Sep 17 00:00:00 2001 From: "Kenneth D. Merry" Date: Fri, 20 Aug 1999 19:42:01 +0000 Subject: [PATCH] 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 ). - 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 --- sys/sys/ptio.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/sys/sys/ptio.h b/sys/sys/ptio.h index e25f1d78f1d..dd4f1492c88 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 -#endif +#ifndef _SYS_PTIO_H_ +#define _SYS_PTIO_H_ + #include -#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_ */