From 62315f0783adebc081ad1407538ed7c1c2338207 Mon Sep 17 00:00:00 2001 From: raj Date: Thu, 4 Sep 2008 10:05:44 +0000 Subject: Eliminate __alpha__ leftover from libstand. --- lib/libstand/stand.h | 3 --- lib/libstand/ufs.c | 4 ---- lib/libstand/zalloc_malloc.c | 9 --------- 3 files changed, 16 deletions(-) (limited to 'lib/libstand') diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index 12c188a..1411b6b 100644 --- a/lib/libstand/stand.h +++ b/lib/libstand/stand.h @@ -235,9 +235,6 @@ extern void *calloc(size_t n1, size_t n2); extern void *realloc(void *ptr, size_t size); extern void *reallocf(void *ptr, size_t size); extern void mallocstats(void); -#ifdef __alpha__ -extern void free_region(void *start, void *end); -#endif /* disklabel support (undocumented, may be junk) */ struct disklabel; diff --git a/lib/libstand/ufs.c b/lib/libstand/ufs.c index 280b74e..b6f7815 100644 --- a/lib/libstand/ufs.c +++ b/lib/libstand/ufs.c @@ -83,10 +83,6 @@ __FBSDID("$FreeBSD$"); #include "stand.h" #include "string.h" -#ifdef __alpha__ -#define COMPAT_UFS /* DUX has old format file systems */ -#endif - static int ufs_open(const char *path, struct open_file *f); static int ufs_write(struct open_file *f, void *buf, size_t size, size_t *resid); static int ufs_close(struct open_file *f); diff --git a/lib/libstand/zalloc_malloc.c b/lib/libstand/zalloc_malloc.c index 3161fc3..cdacf13 100644 --- a/lib/libstand/zalloc_malloc.c +++ b/lib/libstand/zalloc_malloc.c @@ -50,15 +50,6 @@ void mallocstats(void); #undef free #endif -#ifdef __alpha__ -void -free_region(void *start, void *end) -{ - zextendPool(&MallocPool, start, (caddr_t)end - (caddr_t)start); - zfree(&MallocPool, start, (caddr_t)end - (caddr_t)start); -} -#endif - void * Malloc(size_t bytes, const char *file, int line) { -- cgit v1.1