# HG changeset patch # User diego # Date 1277116254 0 # Node ID ea6731235485338a26205c4dd7eaa7dab08a5eb0 # Parent ce2892e4d7a837f1308340c6549cefe06be594d7 Move declarations for functions defined in stream_cddb.c to cdd.h. This fixes a bunch of warnings about missing function prototypes. diff -r ce2892e4d7a8 -r ea6731235485 stream/cdd.h --- 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 */ diff -r ce2892e4d7a8 -r ea6731235485 stream/stream_cdda.c --- 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);