[COMMITTED] include/stap-probe.h: Fix formatting.
Carlos O'Donell
carlos@redhat.com
Wed Oct 14 15:34:00 GMT 2015
While looking at a gdb/glibc stap issue related to local
labels I noticed the formatting for the file was off.
Fix formatting.
2015-10-14 Carlos O'Donell <carlos@redhat.com>
* include/stap-probe.h: Fix macro definition formatting.
diff --git a/include/stap-probe.h b/include/stap-probe.h
index 433b8fd..eb22723 100644
--- a/include/stap-probe.h
+++ b/include/stap-probe.h
@@ -57,13 +57,13 @@
# ifndef __ASSEMBLER__
/* Evaluate all the arguments and verify that N matches their number. */
-#define LIBC_PROBE(name, n, ...) STAP_PROBE##n (__VA_ARGS__)
+# define LIBC_PROBE(name, n, ...) STAP_PROBE##n (__VA_ARGS__)
-#define STAP_PROBE0()
-#define STAP_PROBE1(a1)
-#define STAP_PROBE2(a1, a2)
-#define STAP_PROBE3(a1, a2, a3)
-#define STAP_PROBE4(a1, a2, a3, a4)
+# define STAP_PROBE0()
+# define STAP_PROBE1(a1)
+# define STAP_PROBE2(a1, a2)
+# define STAP_PROBE3(a1, a2, a3)
+# define STAP_PROBE4(a1, a2, a3, a4)
# else
# define LIBC_PROBE(name, n, ...) /* Nothing. */
---
Cheers,
Carlos.
More information about the Libc-alpha
mailing list