This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED] include/stap-probe.h: Fix formatting.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]