Browse Source

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????
OPENBSD_2_4
rahnds 26 years ago
parent
commit
7db5e7f5e2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/stdlib/malloc.c

+ 2
- 2
src/lib/libc/stdlib/malloc.c View File

@ -8,7 +8,7 @@
*/ */
#if defined(LIBC_SCCS) && !defined(lint) #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 */ #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__ #ifdef __OpenBSD__
# if defined(__alpha__) || defined(__m68k__) || defined(__mips__) || \ # if defined(__alpha__) || defined(__m68k__) || defined(__mips__) || \
defined(__i386__) || defined(__m88k__) || defined(__ns32k__) || \ defined(__i386__) || defined(__m88k__) || defined(__ns32k__) || \
defined(__vax__)
defined(__vax__) || defined(__powerpc__)
# define malloc_pageshift (PGSHIFT) # define malloc_pageshift (PGSHIFT)
# define malloc_minsize 16U # define malloc_minsize 16U
# endif /* __i386__ */ # endif /* __i386__ */


Loading…
Cancel
Save