Fix abort definition for C++

This commit is contained in:
Jeremy Soller
2023-03-10 10:45:19 -07:00
parent 2b3e9a3bd0
commit 334e33cfde
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ long double strtold(const char *nptr, char **endptr) {
void __abort(const char *func, const char *file, int line);
// backup definition of abort for programs that link it directly
void abort() {
void abort(void) {
// call detailed abort function
__abort(__func__, __FILE__, __LINE__);
}