Module Name:    src
Committed By:   skrll
Date:           Tue Dec 13 22:25:08 UTC 2022

Modified Files:
        src/sys/arch/riscv/include: reg.h

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/riscv/include/reg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/riscv/include/reg.h
diff -u src/sys/arch/riscv/include/reg.h:1.9 src/sys/arch/riscv/include/reg.h:1.10
--- src/sys/arch/riscv/include/reg.h:1.9	Wed Oct 12 07:50:56 2022
+++ src/sys/arch/riscv/include/reg.h	Tue Dec 13 22:25:08 2022
@@ -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 @@ struct reg32 {	// synced with register_t
 };
 #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)

Reply via email to