* tests/macros.h (test_exit_status) [!NO_MAIN_HERE]:
Declare test_exit_status too, as this is simpler
and we might as well check definition vs declaration.
+2025-05-18 Paul Eggert <eggert@cs.ucla.edu>
+
+ tests: simplify test_exit_status decl
+ * tests/macros.h (test_exit_status) [!NO_MAIN_HERE]:
+ Declare test_exit_status too, as this is simpler
+ and we might as well check definition vs declaration.
+
2025-05-18 Bruno Haible <bruno@clisp.org>
unigbrk/u*-grapheme-prev: Support Indic, Emojis, regional indicators.
Set to EXIT_FAILURE when an ASSERT or ASSERT_NO_STDIO fails. */
/* To satisfy the "one definition rule", we define the variable in the
compilation unit that contains the main() function. */
-#ifdef NO_MAIN_HERE
extern int volatile test_exit_status;
-#else
+#ifndef NO_MAIN_HERE
int volatile test_exit_status = EXIT_SUCCESS;
#endif