[COMMITTED PATCH] Fix compilation warnings in some NPTL tests.

Roland McGrath roland@hack.frob.com
Fri Oct 26 00:07:00 GMT 2012


> This breaks the build, please test your changes.

Sorry.  I did this change late yesterday and misremembered that I'd already
done a check run when I realized today that I hadn't pushed it yet.

Fixed thusly:

nptl/
2012-10-25  Roland McGrath  <roland@hack.frob.com>

	* tst-cond-except.c (TEST_FUNCTION): New macro.


diff --git a/nptl/tst-cond-except.c b/nptl/tst-cond-except.c
index be9c4ef..c294a41 100644
--- a/nptl/tst-cond-except.c
+++ b/nptl/tst-cond-except.c
@@ -105,5 +105,6 @@ out:
   return ret;
 }
 
+#define TEST_FUNCTION do_test ()
 #define TIMEOUT 5
 #include "../test-skeleton.c"



More information about the Libc-alpha mailing list