Modified to conform to ANSI C

This commit is contained in:
ceriel
1993-10-22 14:05:24 +00:00
parent 799f0600ef
commit 4ec65def3f
3 changed files with 15 additions and 6 deletions

View File

@@ -24,6 +24,7 @@ wr_num(fd, n)
sys_write(fd, s, 1);
}
int
_BadAssertion(file, lineno, assertion)
char *file, *assertion;
int lineno;
@@ -36,4 +37,5 @@ _BadAssertion(file, lineno, assertion)
sys_write(STDERR, assertion, strlen(assertion));
sys_write(STDERR, "\" failed\n", 9);
sys_stop(S_ABORT);
return 0;
}