Eliminate __alpha__ leftover from libstand.
This commit is contained in:
parent
5cd175eaac
commit
62315f0783
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user