зеркало из https://github.com/mozilla/gecko-dev.git
main() must return int for HP-UX's aCC compiler.
This commit is contained in:
Родитель
0630ef570c
Коммит
2351a1ae9e
|
@ -80,10 +80,12 @@ static Test tests[] = {
|
|||
};
|
||||
#define NUM_TESTS (sizeof(tests) / sizeof(tests[0]))
|
||||
|
||||
void main()
|
||||
int main()
|
||||
{
|
||||
Test* tp = tests;
|
||||
for (PRIntn i = 0; i < NUM_TESTS; i++, tp++) {
|
||||
Check(tp->s1, tp->s2, tp->n);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче