From 33c506bfed3ead4cc96819ce600895082c214755 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 31 Jul 2003 21:48:04 +0000 Subject: various cleanups; david says results are same --- src/regress/lib/libc/malloc/malloc0test/malloc0test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/regress/lib/libc/malloc/malloc0test/malloc0test.c') diff --git a/src/regress/lib/libc/malloc/malloc0test/malloc0test.c b/src/regress/lib/libc/malloc/malloc0test/malloc0test.c index 39c3fd2e64..910b466bd4 100644 --- a/src/regress/lib/libc/malloc/malloc0test/malloc0test.c +++ b/src/regress/lib/libc/malloc/malloc0test/malloc0test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc0test.c,v 1.1 2003/07/15 10:09:37 otto Exp $ */ +/* $OpenBSD: malloc0test.c,v 1.2 2003/07/31 21:48:03 deraadt Exp $ */ /* * Public domain. 2001, Theo de Raadt */ @@ -14,14 +14,14 @@ volatile sig_atomic_t got; jmp_buf jmp; -void +static void catch(int signo) { got++; longjmp(jmp, 1); } -int +static int test(char *p, int size) { signal(SIGSEGV, catch); -- cgit v1.2.3-55-g6feb