CVS: rdesktop disk.c,1.44,1.45 parallel.c,1.12,1.13
Michael Gernoth <[email protected]>
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15627
Modified Files:
disk.c parallel.c
Log Message:
fix compiler warnings
remove unused get_parallel_data
Index: disk.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/disk.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** disk.c 3 Mar 2005 08:48:24 -0000 1.44
--- disk.c 8 Mar 2005 01:01:46 -0000 1.45
***************
*** 926,932 ****
{
- FILE *fdfs;
static FsInfoType info;
#ifdef HAVE_MNTENT_H
struct mntent *e;
#endif
--- 926,932 ----
{
static FsInfoType info;
#ifdef HAVE_MNTENT_H
+ FILE *fdfs;
struct mntent *e;
#endif
Index: parallel.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/parallel.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** parallel.c 2 Oct 2004 01:30:32 -0000 1.12
--- parallel.c 8 Mar 2005 01:01:47 -0000 1.13
***************
*** 19,35 ****
extern RDPDR_DEVICE g_rdpdr_device[];
- static PARALLEL_DEVICE *
- get_parallel_data(NTHANDLE handle)
- {
- int index;
-
- for (index = 0; index < RDPDR_MAX_DEVICES; index++)
- {
- if (handle == g_rdpdr_device[index].handle)
- return (PARALLEL_DEVICE *) g_rdpdr_device[index].pdevice_data;
- }
- return NULL;
- }
-
/* Enumeration of devices from rdesktop.c */
--- 19,22 ----
***************
*** 127,131 ****
--- 114,120 ----
if (n < 0)
{
+ #if defined(LPGETSTATUS)
int status;
+ #endif
*result = 0;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click