Warning clean up
Removing some old unused routines Addind some newlines after some files. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1077
This commit is contained in:
parent
d5231d4351
commit
b222a9576a
13 changed files with 52 additions and 81 deletions
|
@ -127,7 +127,6 @@ bool DOS_MakeName(char * name,char * fullname,Bit8u * drive) {
|
|||
char * ext=strchr(tempdir,'.');
|
||||
if (ext) {
|
||||
ext[4]=0;
|
||||
Bitu blah=strlen(tempdir);
|
||||
if (strlen(tempdir)>12) memmove(tempdir+8,ext,5);
|
||||
} else tempdir[8]=0;
|
||||
strcat(fullname,tempdir);
|
||||
|
@ -475,14 +474,6 @@ bool DOS_CreateTempFile(char * name,Bit16u * entry) {
|
|||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
static bool FCB_MakeName2 (DOS_FCB & fcb, char* outname, Bit8u* outdrive){
|
||||
char short_name[DOS_FCBNAME];
|
||||
fcb.GetName(short_name);
|
||||
return DOS_MakeName(short_name,outname, outdrive);
|
||||
}
|
||||
|
||||
#define FCB_SEP ":.;,=+"
|
||||
#define ILLEGAL ":.;,=+ \t/\"[]<>|"
|
||||
|
||||
|
@ -491,13 +482,6 @@ static bool isvalid(const char in){
|
|||
return (Bit8u(in)>0x1F) && (!strchr(ill,in));
|
||||
}
|
||||
|
||||
static void vullen (char* veld,char* pveld){
|
||||
for(Bitu i=(pveld-veld);i<strlen(veld);i++){
|
||||
*(veld+i)='?';
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
#define PARSE_SEP_STOP 0x01
|
||||
#define PARSE_DFLT_DRIVE 0x02
|
||||
#define PARSE_BLNK_FNAME 0x04
|
||||
|
|
|
@ -23,10 +23,6 @@
|
|||
#include "regs.h"
|
||||
#include "dos_inc.h"
|
||||
|
||||
#define MAX_DEVICE 20
|
||||
static DOS_File * dos_devices[MAX_DEVICE];
|
||||
|
||||
|
||||
bool DOS_IOCTL(void) {
|
||||
Bitu handle;Bit8u drive;
|
||||
if (reg_al<8) { /* call 0-7 use a file handle */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue