tabbing plus lots of memory fixes
[c11tester.git] / common.h
index 1b2b673f1fd3c81b8e342fbfa68205163b216135..01426a4d66bee75772507710221b3a99a02c49f0 100644 (file)
--- a/common.h
+++ b/common.h
@@ -32,15 +32,15 @@ void assert_hook(void);
                        fprintf(stderr, "Error: assertion failed in %s at line %d\n", __FILE__, __LINE__); \
                        /* print_trace(); // Trace printing may cause dynamic memory allocation */ \
                        assert_hook();                           \
-                       exit(EXIT_FAILURE); \
+                       _Exit(EXIT_FAILURE); \
                } \
        } while (0)
 #else
 #define ASSERT(expr) \
        do { } while (0)
-#endif/* CONFIG_ASSERT */
+#endif /* CONFIG_ASSERT */
 
 #define error_msg(...) fprintf(stderr, "Error: " __VA_ARGS__)
 
 void print_trace(void);
-#endif/* __COMMON_H__ */
+#endif /* __COMMON_H__ */