changeset 31443:ea6731235485

Move declarations for functions defined in stream_cddb.c to cdd.h. This fixes a bunch of warnings about missing function prototypes.
author diego
date Mon, 21 Jun 2010 10:30:54 +0000
parents ce2892e4d7a8
children d8fcf2a01af2
files stream/cdd.h stream/stream_cdda.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/stream/cdd.h	Mon Jun 21 10:26:45 2010 +0000
+++ b/stream/cdd.h	Mon Jun 21 10:30:54 2010 +0000
@@ -75,4 +75,8 @@
 
 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 */
--- a/stream/stream_cdda.c	Mon Jun 21 10:26:45 2010 +0000
+++ b/stream/stream_cdda.c	Mon Jun 21 10:30:54 2010 +0000
@@ -124,10 +124,6 @@
   {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);