summaryrefslogtreecommitdiffstats
path: root/sys/cdrom
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-09-14 13:40:53 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-09-14 13:40:53 +0000
commit3b6498122f27067ec47c3bc1f3ca28129e6bf9e8 (patch)
treef7b2ae46dc204bca23a3aa85d0a961c7730037df /sys/cdrom
parent5ed6c44df519dadd39bd99904d98865036f1e3a5 (diff)
downloadgst-plugins-bad-3b6498122f27067ec47c3bc1f3ca28129e6bf9e8.tar.gz
gst-plugins-bad-3b6498122f27067ec47c3bc1f3ca28129e6bf9e8.tar.bz2
gst-plugins-bad-3b6498122f27067ec47c3bc1f3ca28129e6bf9e8.zip
/* blush */
Original commit message from CVS: /* blush */
Diffstat (limited to 'sys/cdrom')
-rw-r--r--sys/cdrom/gstcdplayer_ioctl.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/cdrom/gstcdplayer_ioctl.c b/sys/cdrom/gstcdplayer_ioctl.c
index b0ed183e..0f14675c 100644
--- a/sys/cdrom/gstcdplayer_ioctl.c
+++ b/sys/cdrom/gstcdplayer_ioctl.c
@@ -31,13 +31,9 @@
/* private functions */
-/* not used
static void cd_fix_track_range(struct cd *cd,gint *start_track,gint *end_track);
-*/
static gint cddb_sum(gint n);
-
-
#ifdef HAVE_LINUX_CDROM_H
#include <linux/cdrom.h>
#elif defined HAVE_SYS_CDIO_H
@@ -61,7 +57,7 @@ irix cdaudio works quite a bit differently than ioctl(), so its not ready
*/
#ifdef HAVE_CDROM_SOLARIS
#include "gstcdplayer_ioctl_solaris.h"
-#elif defined HAVE_CDROM_BSD
+#elif define HAVE_CDROM_BSD
#include "gstcdplayer_ioctl_bsd.h"
/*
#elif define HAVE_CDROM_IRIX
@@ -69,8 +65,6 @@ irix cdaudio works quite a bit differently than ioctl(), so its not ready
*/
#endif
-#ifdef NOTDEFINED
-/* this doesn't seem to get used, does it */
static void cd_fix_track_range(struct cd *cd,gint *start_track,gint *end_track)
{
if (*start_track <= 0) {
@@ -92,8 +86,6 @@ static void cd_fix_track_range(struct cd *cd,gint *start_track,gint *end_track)
return;
}
-#endif
-
/* this cddb info is from
http://www.freedb.org/modules.php?name=Sections&sop=viewarticle&artid=6