Bug 628595 - Avoid compiler warning about C++ style comments in C code in elfhack. r=jag,a-sdwilsh

This commit is contained in:
Mike Hommey 2011-01-28 09:22:58 +01:00
parent df126a65a3
commit 7689402ee4

View File

@ -113,7 +113,7 @@ __thread int foo;
__attribute__((constructor)) void end_test() { __attribute__((constructor)) void end_test() {
static int count = 0; static int count = 0;
// Only exit when both constructors have been called /* Only exit when both constructors have been called */
if (++count == 2) { if (++count == 2) {
fprintf(stderr, "PASS\n"); fprintf(stderr, "PASS\n");
exit(0); exit(0);