Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/riscv No need for double semi-colon



details:   https://anonhg.NetBSD.org/src/rev/702390c02789
branches:  trunk
changeset: 375883:702390c02789
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri May 19 06:41:41 2023 +0000

description:
No need for double semi-colon

Indent END the same as ENTRY.

NFCI.

diffstat:

 lib/libc/arch/riscv/SYS.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 3de99b883dc8 -r 702390c02789 lib/libc/arch/riscv/SYS.h
--- a/lib/libc/arch/riscv/SYS.h Fri May 19 06:31:01 2023 +0000
+++ b/lib/libc/arch/riscv/SYS.h Fri May 19 06:41:41 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: SYS.h,v 1.4 2023/05/07 12:41:47 skrll Exp $ */
+/*     $NetBSD: SYS.h,v 1.5 2023/05/19 06:41:41 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014,2022 The NetBSD Foundation, Inc.
@@ -71,14 +71,14 @@
  * and syscall name are not the same.
  */
 #define PSEUDO_NOERROR(x,y)                                            \
-ENTRY(x);                                                              ;\
+ENTRY(x)                                                               ;\
        SYSTRAP_NOERROR(y)                                              ;\
        ret                     /* success */                           ;\
-       END(x)
+END(x)
 
 #define PSEUDO(x,y)                                                    \
-ENTRY(x);                                                              ;\
+ENTRY(x)                                                               ;\
        SYSTRAP(y)                                                      ;\
        JUMP_TO_CERROR()        /* error */                             ;\
        ret                     /* success */                           ;\
-       END(x)
+END(x)



Home | Main Index | Thread Index | Old Index