diff options
author | tg <tg@FreeBSD.org> | 2001-07-24 11:50:23 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-07-24 11:50:23 +0000 |
commit | 47c2c99b5115c72bc1c4ad5ba8e7d21169d982ae (patch) | |
tree | f69b902c12889e39d57e3d83d55293ee0abee74b /usr.bin/doscmd/xms.c | |
parent | 97507091ff20d3dc72113dfbd0c9532423d3acb4 (diff) | |
download | FreeBSD-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.c | 3 |
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; /* |