summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-07-13 04:02:26 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-07-13 04:02:26 +0000
commitf99e67e6a66a0268fc43ba461542ae19d04a4fb3 (patch)
tree78e8246f59684e8790fa37a0adc0d0ec77fcfcec
parent0ce20547bdbc8da7ccc871dff8df0e79ae5230bd (diff)
add alloca, hope none would get hurt, since none but i386 use it
-rw-r--r--sys/lib/libsa/stand.h7
1 files changed, 4 insertions, 3 deletions
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 *));