From: Bart O. <bar...@us...> - 2004-05-25 00:02:56
|
Update of /cvsroot/freedos/kernel/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24826 Modified Files: config.c proto.h Log Message: Fix problem with wrong remote_rw cast and unused variable. Index: config.c =================================================================== RCS file: /cvsroot/freedos/kernel/kernel/config.c,v retrieving revision 1.88 retrieving revision 1.89 diff -u -d -r1.88 -r1.89 --- config.c 24 May 2004 23:34:22 -0000 1.88 +++ config.c 25 May 2004 00:02:46 -0000 1.89 @@ -2417,7 +2417,6 @@ STATIC int LoadCountryInfoHardCoded(char *filename, COUNT ctryCode, COUNT codePage) { - int i; struct CountrySpecificInfo *country; UNREFERENCED_PARAMETER(codePage); UNREFERENCED_PARAMETER(filename); Index: proto.h =================================================================== RCS file: /cvsroot/freedos/kernel/kernel/proto.h,v retrieving revision 1.73 retrieving revision 1.74 diff -u -d -r1.73 -r1.74 --- proto.h 23 May 2004 21:18:37 -0000 1.73 +++ proto.h 25 May 2004 00:02:46 -0000 1.74 @@ -380,7 +380,7 @@ 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) |