summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-10-21 05:12:58 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-10-21 05:12:58 (GMT)
commit5ce4069c2483ee38be3622109a5e15ab6b0381bd (patch)
treeb28071a690a7c3df0a9be8dc8fd2cc1a8504864b
parentd774cf9daff3f2a09cdfcdc2a1716bebfa3027e0 (diff)
downloadhdf5-5ce4069c2483ee38be3622109a5e15ab6b0381bd.zip
hdf5-5ce4069c2483ee38be3622109a5e15ab6b0381bd.tar.gz
hdf5-5ce4069c2483ee38be3622109a5e15ab6b0381bd.tar.bz2
[svn-r771] Changed exit(n) in main() to return(n) to pacify the compiler.
Platform tested: O2K
-rw-r--r--test/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mount.c b/test/mount.c
index e5d37ad..b3b5a0b 100644
--- a/test/mount.c
+++ b/test/mount.c
@@ -1077,9 +1077,9 @@ main(void)
if (nerrors) goto error;
puts("All mount tests passed.");
cleanup();
- exit(0);
+ return(0);
error:
puts("***** MOUNT ERRORS *****");
- exit(1);
+ return(1);
}