summaryrefslogtreecommitdiffstats
path: root/includes/sys
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-03-08 20:56:18 +0100
committerMark Wielaard <mjw@redhat.com>2009-03-09 10:14:11 +0100
commitda573399d560fc659ee45ae041dcb2bf5b9b0bf6 (patch)
tree16e2cabc6b7f38ce087378ccc1bace65eb05bcfe /includes/sys
parent7516b286e0909504bd958ad2b8050d5d8afbd508 (diff)
downloadsystemtap-steved-da573399d560fc659ee45ae041dcb2bf5b9b0bf6.tar.gz
systemtap-steved-da573399d560fc659ee45ae041dcb2bf5b9b0bf6.tar.xz
systemtap-steved-da573399d560fc659ee45ae041dcb2bf5b9b0bf6.zip
Remove extra semi-colons from defines in sdt.h.
* includes/sys/sdt.h (STAP_PROBE_STRUCT_ARG): Remove ending semi-colon. (STAP_LABEL_REF): Likewise.
Diffstat (limited to 'includes/sys')
-rw-r--r--includes/sys/sdt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h
index 4ebf4fe0..8e27cfdb 100644
--- a/includes/sys/sdt.h
+++ b/includes/sys/sdt.h
@@ -13,10 +13,10 @@
#if _LP64
#define STAP_PROBE_STRUCT_ARG(arg) \
- __uint64_t arg;
+ __uint64_t arg
#else
#define STAP_PROBE_STRUCT_ARG(arg) \
- long arg __attribute__ ((aligned(8)));
+ long arg __attribute__ ((aligned(8)))
#endif
#define STAP_SENTINEL 0x31425250
@@ -36,7 +36,7 @@ static volatile struct _probe_ ## probe _probe_ ## probe __attribute__ ((section
// The goto _probe_ prevents the label from "drifting"
#define STAP_LABEL_REF(probe, label) \
if (__builtin_expect(_probe_ ## probe.probe_type < 0, 0)) \
- goto label;
+ goto label
// These baroque macros are used to create a unique label
#define STAP_CONCAT(a,b) a ## b