From f99e67e6a66a0268fc43ba461542ae19d04a4fb3 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 13 Jul 1998 04:02:26 +0000 Subject: add alloca, hope none would get hurt, since none but i386 use it --- sys/lib/libsa/stand.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/lib/libsa/stand.h') diff --git a/sys/lib/libsa/stand.h b/sys/lib/libsa/stand.h index 47fdac55f2e..80253f77f65 100644 --- a/sys/lib/libsa/stand.h +++ b/sys/lib/libsa/stand.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stand.h,v 1.33 1998/05/31 23:39:14 mickey Exp $ */ +/* $OpenBSD: stand.h,v 1.34 1998/07/13 04:02:25 mickey Exp $ */ /* $NetBSD: stand.h,v 1.18 1996/11/30 04:35:51 gwr Exp $ */ /*- @@ -135,8 +135,9 @@ extern struct open_file files[]; h = ((b) % ((nh) * (ns))) / (ns); \ s = ((b) % ((nh) * (ns))) % (ns); -void *alloc __P((unsigned int)); -void free __P((void *, unsigned int)); +void *alloc __P((u_int)); +void *alloca __P((size_t)); +void free __P((void *, u_int)); struct disklabel; char *getdisklabel __P((const char *, struct disklabel *)); u_int dkcksum __P((struct disklabel *)); -- cgit v1.2.3