Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/59294cfdc0f4
branches:  trunk
changeset: 372633:59294cfdc0f4
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Dec 13 22:25:08 2022 +0000

description:
KNF

diffstat:

 sys/arch/riscv/include/reg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 97224d4592a1 -r 59294cfdc0f4 sys/arch/riscv/include/reg.h
--- a/sys/arch/riscv/include/reg.h      Tue Dec 13 21:50:43 2022 +0000
+++ b/sys/arch/riscv/include/reg.h      Tue Dec 13 22:25:08 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: reg.h,v 1.9 2022/10/12 07:50:56 simonb Exp $ */
+/* $NetBSD: reg.h,v 1.10 2022/12/13 22:25:08 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
 };
 #endif
 
-#define _XREG(n)       ((n)-1)
+#define _XREG(n)       ((n) - 1)
 #define _X_RA          _XREG(1)
 #define _X_SP          _XREG(2)
 #define _X_GP          _XREG(3)



Home | Main Index | Thread Index | Old Index