summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorrahnds <rahnds@openbsd.org>1998-06-28 06:30:34 +0000
committerrahnds <rahnds@openbsd.org>1998-06-28 06:30:34 +0000
commit050c9823d2f98e2a59876217040e50a9811017b1 (patch)
treeedd8a8cf39ba485db2c5b41fc6e15950053c045a /lib/libc/stdlib/malloc.c
parentStability fix for powerpc openfirmware system. (diff)
downloadwireguard-openbsd-050c9823d2f98e2a59876217040e50a9811017b1.tar.xz
wireguard-openbsd-050c9823d2f98e2a59876217040e50a9811017b1.zip
Oh fun, mucking about with files used on all archs.
This is one of many places in the source that have #if defined("list all architectures") Is there some possible way to eliminate, reduce these or at least have a file that describes all occurrances so that when a new port is done this could be addressed. like the recent hppa port, does it need to take a look at this????
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
-rw-r--r--lib/libc/stdlib/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index 9aadc494f90..b46d9793845 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -8,7 +8,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: malloc.c,v 1.30 1998/01/02 05:32:49 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: malloc.c,v 1.31 1998/06/28 06:30:34 rahnds Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -84,7 +84,7 @@ static char rcsid[] = "$OpenBSD: malloc.c,v 1.30 1998/01/02 05:32:49 deraadt Exp
#ifdef __OpenBSD__
# if defined(__alpha__) || defined(__m68k__) || defined(__mips__) || \
defined(__i386__) || defined(__m88k__) || defined(__ns32k__) || \
- defined(__vax__)
+ defined(__vax__) || defined(__powerpc__)
# define malloc_pageshift (PGSHIFT)
# define malloc_minsize 16U
# endif /* __i386__ */