From 2351a1ae9ed86461a684f62dd39c4ec8ea11bc5b Mon Sep 17 00:00:00 2001 From: "bruce%cybersight.com" Date: Thu, 27 May 1999 05:14:57 +0000 Subject: [PATCH] main() must return int for HP-UX's aCC compiler. --- xpcom/tests/TestCRT.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xpcom/tests/TestCRT.cpp b/xpcom/tests/TestCRT.cpp index f04b922c2704..61d782f1a165 100644 --- a/xpcom/tests/TestCRT.cpp +++ b/xpcom/tests/TestCRT.cpp @@ -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; }