summaryrefslogtreecommitdiffstats
path: root/tests/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/error.c')
-rw-r--r--tests/error.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/error.c b/tests/error.c
index fc42476..f1ef6ee 100644
--- a/tests/error.c
+++ b/tests/error.c
@@ -19,11 +19,13 @@
*************************************************************************/
#include "../libdimension/dimension.h"
+#include <stdlib.h>
-int main()
+int
+main()
{
dmnsn_set_resilience(DMNSN_SEVERITY_LOW);
dmnsn_error(DMNSN_SEVERITY_LOW, "This error is expected.");
- return 0;
+ return EXIT_SUCCESS;
}