Fix problem with wrong remote_rw cast and unused variable.

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@961 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2004-05-25 00:02:46 +00:00
parent 9a1418a6c8
commit c90e1e3c11
2 changed files with 1 additions and 2 deletions

View File

@ -2417,7 +2417,6 @@ struct CountrySpecificInfo specificCountriesSupported[] = {
STATIC int LoadCountryInfoHardCoded(char *filename, COUNT ctryCode, COUNT codePage)
{
int i;
struct CountrySpecificInfo *country;
UNREFERENCED_PARAMETER(codePage);
UNREFERENCED_PARAMETER(filename);

View File

@ -380,7 +380,7 @@ COUNT truename(const char FAR * src, char * dest, COUNT t);
int network_redirector(unsigned cmd);
int network_redirector_fp(unsigned cmd, void far *s);
long ASMPASCAL network_redirector_mx(unsigned cmd, void far *s, void *arg);
#define remote_rw(cmd,s,arg) (int)network_redirector_mx(cmd, s, (void *)arg)
#define remote_rw(cmd,s,arg) network_redirector_mx(cmd, s, (void *)arg)
#define remote_getfree(s,d) (int)network_redirector_mx(REM_GETSPACE, s, d)
#define remote_lseek(s,new_pos) network_redirector_mx(REM_LSEEK, s, &new_pos)
#define remote_setfattr(attr) (int)network_redirector_mx(REM_SETATTR, NULL, (void *)attr)