From af81df2542d86bd19f071e7e790bdcfdcf3c3f0e Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 21 Jan 2004 15:08:55 -0500 Subject: [PATCH] BUG: Use return statement instead of exit. --- Modules/TestBigEndian.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/TestBigEndian.c b/Modules/TestBigEndian.c index 377d1b18e..c21cc7e49 100644 --- a/Modules/TestBigEndian.c +++ b/Modules/TestBigEndian.c @@ -6,5 +6,5 @@ int main () { char c[sizeof (long)]; } u; u.l = 1; - exit (u.c[sizeof (long) - 1] == 1); + return (u.c[sizeof (long) - 1] == 1)?1:0; }