2019-02-13 Joseph Myers <joseph@codesourcery.com>
+ * catgets/gencat.c (normalize_line): Use braces around empty
+ 'else' body.
+ * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
+ (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
+ [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
+ [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
+ [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
+ [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
+ * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
+ definition.
+
* support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
execlp returns.
++rp;
}
else
- /* Simply ignore the backslash character. */;
+ {
+ /* Simply ignore the backslash character. */
+ }
break;
}
}
/* Evaluate all the arguments and verify that N matches their number. */
# 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() do {} while (0)
+# define STAP_PROBE1(a1) do {} while (0)
+# define STAP_PROBE2(a1, a2) do {} while (0)
+# define STAP_PROBE3(a1, a2, a3) do {} while (0)
+# define STAP_PROBE4(a1, a2, a3, a4) do {} while (0)
# else
# define LIBC_PROBE(name, n, ...) /* Nothing. */
#define _IO_peekc(_fp) _IO_peekc_unlocked (_fp)
#define _IO_flockfile(_fp) /**/
-#define _IO_funlockfile(_fp) /**/
+#define _IO_funlockfile(_fp) ((void) 0)
#define _IO_ftrylockfile(_fp) /**/
#ifndef _IO_cleanup_region_start
#define _IO_cleanup_region_start(_fct, _fp) /**/