Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hppa/include KNF



details:   https://anonhg.NetBSD.org/src/rev/c3c05f3e7d6a
branches:  trunk
changeset: 379075:c3c05f3e7d6a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat May 08 13:10:29 2021 +0000

description:
KNF

diffstat:

 sys/arch/hppa/include/param.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 9282a8f712f3 -r c3c05f3e7d6a sys/arch/hppa/include/param.h
--- a/sys/arch/hppa/include/param.h     Sat May 08 13:09:58 2021 +0000
+++ b/sys/arch/hppa/include/param.h     Sat May 08 13:10:29 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.27 2020/05/01 08:21:27 isaki Exp $ */
+/*     $NetBSD: param.h,v 1.28 2021/05/08 13:10:29 skrll Exp $ */
 
 /*     $OpenBSD: param.h,v 1.12 2001/07/06 02:07:41 provos Exp $       */
 
@@ -41,11 +41,11 @@
 
 #define        PGSHIFT         12              /* LOG2(NBPG) */
 #define        NBPG            (1 << PGSHIFT)  /* bytes/page */
-#define        PGOFSET         (NBPG-1)        /* byte offset into page */
+#define        PGOFSET         (NBPG - 1)      /* byte offset into page */
 
 #define        SEGSHIFT        (PGSHIFT + (PGSHIFT-PTESHIFT))  /* LOG2(NBSEG) */
 #define NBSEG          (1 << SEGSHIFT) /* bytes/segment (quadrant) */
-#define        SEGOFSET        (NBSEG-1)       /* byte offset into segment */
+#define        SEGOFSET        (NBSEG - 1)     /* byte offset into segment */
 
 #define        KERNBASE        0x00000000      /* start of kernel virtual */
 #define        BTOPKERNBASE    ((u_long)KERNBASE >> PGSHIFT)
@@ -61,7 +61,7 @@
 #define        USPACE          (UPAGES * NBPG) /* pages for user struct and kstack */
 
 #ifndef        MSGBUFSIZE
-#define        MSGBUFSIZE      (2*NBPG)        /* default message buffer size */
+#define        MSGBUFSIZE      (2 * NBPG)      /* default message buffer size */
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index