summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 783ace3..937160f 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -17,6 +17,7 @@
#ifndef HAVE_FUNCTION
+#undef __FUNCTION__
#define __FUNCTION__ ""
#endif
#define AT() printf (" at %s:%d in %s()...\n", \
@@ -398,5 +399,5 @@ main(void)
status = H5close ();
assert (status>=0);
- exit(0);
+ return 0;
}