main() must return int for HP-UX's aCC compiler.

This commit is contained in:
bruce%cybersight.com 1999-05-27 05:14:57 +00:00
Родитель 0630ef570c
Коммит 2351a1ae9e
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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;
}