Source-Changes-HG archive

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

[src/trunk]: src/sys/sys sys/sdt.h: Omit spurious trailing semicolon in DTRAC...



details:   https://anonhg.NetBSD.org/src/rev/7900eaffcab2
branches:  trunk
changeset: 374530:7900eaffcab2
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Apr 30 08:46:33 2023 +0000

description:
sys/sdt.h: Omit spurious trailing semicolon in DTRACE_PROBE*.

diffstat:

 sys/sys/sdt.h |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r 46a6f8a9d624 -r 7900eaffcab2 sys/sys/sdt.h
--- a/sys/sys/sdt.h     Sun Apr 30 08:46:20 2023 +0000
+++ b/sys/sys/sdt.h     Sun Apr 30 08:46:33 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdt.h,v 1.21 2023/04/30 08:46:20 riastradh Exp $       */
+/*     $NetBSD: sdt.h,v 1.22 2023/04/30 08:46:33 riastradh Exp $       */
 
 /*-
  * Copyright 2006-2008 John Birrell <jb%FreeBSD.org@localhost>
@@ -407,25 +407,25 @@
 
 #define DTRACE_PROBE(name)                                             \
        DTRACE_PROBE_IMPL_START(name, 0, 0, 0, 0, 0);                   \
-       DTRACE_PROBE_IMPL_END;
+       DTRACE_PROBE_IMPL_END
 
 #define DTRACE_PROBE1(name, type0, arg0)                               \
        DTRACE_PROBE_IMPL_START(name, arg0, 0, 0, 0, 0);                \
        SDT_PROBE_ARGTYPE(sdt, , , name, 0, #type0, NULL);              \
-       DTRACE_PROBE_IMPL_END;
+       DTRACE_PROBE_IMPL_END
 
 #define DTRACE_PROBE2(name, type0, arg0, type1, arg1)                  \
        DTRACE_PROBE_IMPL_START(name, arg0, arg1, 0, 0, 0);             \
        SDT_PROBE_ARGTYPE(sdt, , , name, 0, #type0, NULL);              \
        SDT_PROBE_ARGTYPE(sdt, , , name, 1, #type1, NULL);              \
-       DTRACE_PROBE_IMPL_END;
+       DTRACE_PROBE_IMPL_END
 
 #define DTRACE_PROBE3(name, type0, arg0, type1, arg1, type2, arg2)     \
        DTRACE_PROBE_IMPL_START(name, arg0, arg1, arg2, 0, 0);          \
        SDT_PROBE_ARGTYPE(sdt, , , name, 0, #type0, NULL);              \
        SDT_PROBE_ARGTYPE(sdt, , , name, 1, #type1, NULL);              \
        SDT_PROBE_ARGTYPE(sdt, , , name, 2, #type2, NULL);              \
-       DTRACE_PROBE_IMPL_END;
+       DTRACE_PROBE_IMPL_END
 
 #define DTRACE_PROBE4(name, type0, arg0, type1, arg1, type2, arg2, type3,     \
     arg3)                                                                    \
@@ -434,7 +434,7 @@
        SDT_PROBE_ARGTYPE(sdt, , , name, 1, #type1, NULL);                    \
        SDT_PROBE_ARGTYPE(sdt, , , name, 2, #type2, NULL);                    \
        SDT_PROBE_ARGTYPE(sdt, , , name, 3, #type3, NULL);                    \
-       DTRACE_PROBE_IMPL_END;
+       DTRACE_PROBE_IMPL_END
 
 #define DTRACE_PROBE5(name, type0, arg0, type1, arg1, type2, arg2, type3,     \
     arg3, type4, arg4)                                                       \
@@ -444,7 +444,7 @@
        SDT_PROBE_ARGTYPE(sdt, , , name, 2, #type2, NULL);                    \
        SDT_PROBE_ARGTYPE(sdt, , , name, 3, #type3, NULL);                    \
        SDT_PROBE_ARGTYPE(sdt, , , name, 4, #type4, NULL);                    \
-       DTRACE_PROBE_IMPL_END;
+       DTRACE_PROBE_IMPL_END
 
 #endif /* KDTRACE_HOOKS */
 



Home | Main Index | Thread Index | Old Index