summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2008-09-04 10:05:44 +0000
committerraj <raj@FreeBSD.org>2008-09-04 10:05:44 +0000
commit62315f0783adebc081ad1407538ed7c1c2338207 (patch)
treef6ee42d4bcc00ae9d63a5d70f22c3eb3550a8108 /lib/libstand
parent5cd175eaac0379185cffb5eb246c2862375a3c07 (diff)
downloadFreeBSD-src-62315f0783adebc081ad1407538ed7c1c2338207.zip
FreeBSD-src-62315f0783adebc081ad1407538ed7c1c2338207.tar.gz
Eliminate __alpha__ leftover from libstand.
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/stand.h3
-rw-r--r--lib/libstand/ufs.c4
-rw-r--r--lib/libstand/zalloc_malloc.c9
3 files changed, 0 insertions, 16 deletions
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)
{
OpenPOWER on IntegriCloud