Fix compilation using -p or -DDEBUG

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@415 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2002-08-04 10:26:31 +00:00
parent dfeb595f8e
commit 2c6dbdf194
5 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,5 @@
rem dos=high
rem device=fdxms.sys (or himem.sys)
files=20
buffers=20
rem screen=0x12

View File

@ -453,7 +453,7 @@ extern struct nlsInfoBlock nlsInfo;
extern struct nlsPackage ASM nlsPackageHardcoded;
/* These are the "must have" tables within the hard coded NLS pkg */
extern struct nlsFnamTerm nlsFnameTermHardcoded;
extern struct nlsDBCS nlsDBCSHardcoded;
extern struct nlsDBCS ASM nlsDBCSHardcoded;
extern struct nlsCharTbl nlsUpcaseHardcoded;
extern struct nlsCharTbl nlsFUpcaseHardcoded;
extern struct nlsCharTbl nlsCollHardcoded;

View File

@ -322,8 +322,8 @@ f_node_ptr split_path(char * path, char * fcbname)
#ifdef DEBUG
if (CDSp[path[0]-'A'].cdsFlags & CDSNETWDRV)
{
printf("split path called for redirected file: `%s.%s'\n",
fname, fext);
printf("split path called for redirected file: `%s'\n",
fcbname);
return (f_node_ptr) 0;
}
#endif

View File

@ -287,7 +287,9 @@ extern BYTE ASM ErrorMode, /* Critical error flag */
ASM InDOS, /* In DOS critical section */
ASM OpenMode, /* File Open Attributes */
ASM SAttr, /* Attrib Mask for Dir Search */
ASM dosidle_flag, ASM Server_Call, ASM CritErrLocus, ASM CritErrAction, ASM CritErrClass, VgaSet, njoined; /* number of joined devices */
ASM dosidle_flag, ASM Server_Call, ASM CritErrLocus, ASM CritErrAction,
ASM CritErrClass, ASM VgaSet,
ASM njoined; /* number of joined devices */
extern UWORD ASM Int21AX;
extern COUNT ASM CritErrCode;

View File

@ -43,7 +43,7 @@ extern COUNT DOSFAR nUnits;
extern UWORD DOSFAR LBA_WRITE_VERIFY;
/* floppy parameter table, at 70:xxxx */
extern unsigned char DOSTEXTFAR int1e_table[0xe];
extern unsigned char DOSTEXTFAR ASM int1e_table[0xe];
/*
* Rev 1.0 13 May 2001 tom ehlert