summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/assert.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-11 21:03:09 +0000
committerderaadt <deraadt@openbsd.org>2003-06-11 21:03:09 +0000
commitf723aa391085d188652b94aedd37f0dd94193fba (patch)
treee126833f2d9fa0dab58a426c7c390de874c0b447 /lib/libc/gen/assert.c
parentsupport for NAT-T (draft-ietf-ipsec-udp-encaps-06.txt); ok deraadt@ (diff)
downloadwireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.tar.xz
wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.zip
ansification; checked by pval
Diffstat (limited to 'lib/libc/gen/assert.c')
-rw-r--r--lib/libc/gen/assert.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/gen/assert.c b/lib/libc/gen/assert.c
index 29c14fe35e4..fe48bc68535 100644
--- a/lib/libc/gen/assert.c
+++ b/lib/libc/gen/assert.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: assert.c,v 1.6 2003/06/02 20:18:34 millert Exp $";
+static char *rcsid = "$OpenBSD: assert.c,v 1.7 2003/06/11 21:03:10 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -37,9 +37,7 @@ static char *rcsid = "$OpenBSD: assert.c,v 1.6 2003/06/02 20:18:34 millert Exp $
#include <stdlib.h>
void
-__assert(file, line, failedexpr)
- const char *file, *failedexpr;
- int line;
+__assert(const char *file, int line, const char *failedexpr)
{
(void)fprintf(stderr,
"assertion \"%s\" failed: file \"%s\", line %d\n",