[MPlayer-cvslog] r31509 - in trunk/stream: cdd.h stream_cdda.c

diego subversion at mplayerhq.hu
Mon Jun 21 12:30:54 CEST 2010


Author: diego
Date: Mon Jun 21 12:30:54 2010
New Revision: 31509

Log:
Move declarations for functions defined in stream_cddb.c to cdd.h.
This fixes a bunch of warnings about missing function prototypes.

Modified:
   trunk/stream/cdd.h
   trunk/stream/stream_cdda.c

Modified: trunk/stream/cdd.h
==============================================================================
--- trunk/stream/cdd.h	Mon Jun 21 12:26:45 2010	(r31508)
+++ trunk/stream/cdd.h	Mon Jun 21 12:30:54 2010	(r31509)
@@ -75,4 +75,8 @@ cd_track_t*	cd_info_get_track(cd_info_t 
 
 void 		cd_info_debug(cd_info_t *cd_info);
 
+int             cdd_identify(const char *dev);
+int             cddb_resolve(const char *dev, char **xmcd_file);
+cd_info_t*      cddb_parse_xmcd(char *xmcd_file);
+
 #endif /* MPLAYER_CDD_H */

Modified: trunk/stream/stream_cdda.c
==============================================================================
--- trunk/stream/stream_cdda.c	Mon Jun 21 12:26:45 2010	(r31508)
+++ trunk/stream/stream_cdda.c	Mon Jun 21 12:30:54 2010	(r31509)
@@ -124,10 +124,6 @@ const m_option_t cdda_opts[] = {
   {NULL, NULL, 0, 0, 0, 0, NULL}
 };
 
-int cdd_identify(const char *dev);
-int cddb_resolve(const char *dev, char **xmcd_file);
-cd_info_t* cddb_parse_xmcd(char *xmcd_file);
-
 static int seek(stream_t* s,off_t pos);
 static int fill_buffer(stream_t* s, char* buffer, int max_len);
 static void close_cdda(stream_t* s);


More information about the MPlayer-cvslog mailing list