diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libstand/stand.h | 3 | ||||
-rw-r--r-- | lib/libstand/ufs.c | 4 | ||||
-rw-r--r-- | lib/libstand/zalloc_malloc.c | 9 |
3 files changed, 0 insertions, 16 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index 12c188afcee4..1411b6b3cb31 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 280b74e35699..b6f781572bb8 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 3161fc37dcba..cdacf1321646 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) { |