summaryrefslogtreecommitdiff
path: root/src/input/media_helper.c
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-09-02 19:56:40 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-09-02 19:56:40 +0000
commit73a6e175cd0f0a27364d3b56b6c9cb2eca16414c (patch)
treeb82b023389a653cd17f31ca42bc0d0b68598b0fb /src/input/media_helper.c
parent67883645a55e1b9af703aa774a4193ea1a4f3fb7 (diff)
downloadxine-lib-73a6e175cd0f0a27364d3b56b6c9cb2eca16414c.tar.gz
xine-lib-73a6e175cd0f0a27364d3b56b6c9cb2eca16414c.tar.bz2
Warnings on WIN32.
Compilation fix for CygWin. CVS patchset: 6932 CVS date: 2004/09/02 19:56:40
Diffstat (limited to 'src/input/media_helper.c')
-rw-r--r--src/input/media_helper.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/input/media_helper.c b/src/input/media_helper.c
index d07acbab6..2c61cdb6a 100644
--- a/src/input/media_helper.c
+++ b/src/input/media_helper.c
@@ -51,9 +51,9 @@
#define LOG_MEDIA_EJECT
+#ifndef WIN32
static int media_umount_media(const char *device)
{
-#ifndef WIN32
pid_t pid;
int status;
@@ -73,10 +73,8 @@ static int media_umount_media(const char *device)
} while(1);
return -1;
-#else
- return 0;
-#endif
}
+#endif
int media_eject_media (xine_t *xine, const char *device)
{