summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/xms.c
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-07-24 11:50:23 +0000
committertg <tg@FreeBSD.org>2001-07-24 11:50:23 +0000
commit47c2c99b5115c72bc1c4ad5ba8e7d21169d982ae (patch)
treef69b902c12889e39d57e3d83d55293ee0abee74b /usr.bin/doscmd/xms.c
parent97507091ff20d3dc72113dfbd0c9532423d3acb4 (diff)
downloadFreeBSD-src-47c2c99b5115c72bc1c4ad5ba8e7d21169d982ae.zip
FreeBSD-src-47c2c99b5115c72bc1c4ad5ba8e7d21169d982ae.tar.gz
Clean up the code a bit:
- add $FreeBSD$; - remove unused variables; - add missing headers and prototypes; - -Wshadow.
Diffstat (limited to 'usr.bin/doscmd/xms.c')
-rw-r--r--usr.bin/doscmd/xms.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/doscmd/xms.c b/usr.bin/doscmd/xms.c
index 08ed808..c2eb0d8 100644
--- a/usr.bin/doscmd/xms.c
+++ b/usr.bin/doscmd/xms.c
@@ -98,8 +98,6 @@ static void merge_blocks();
void
xms_init(void)
{
- int i;
-
/* Initialize handle table: xms_handle.addr == 0 means free */
bzero((void *)xms_hand, sizeof(XMS_handle) * NUM_HANDLES);
xms_free_mem = xms_maxsize;
@@ -318,7 +316,6 @@ create_block(u_long addr, u_long size)
void initHMA()
{
- caddr_t add;
int mfd;
/*
OpenPOWER on IntegriCloud