mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 628595 - Avoid compiler warning about C++ style comments in C code in elfhack. r=jag,a-sdwilsh
This commit is contained in:
parent
df126a65a3
commit
7689402ee4
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user