aboutsummaryrefslogtreecommitdiffstats
path: root/audio/tcd/files/patch-cddb.c
blob: ffeb02383a3ec5a4774c4b1c8a20f73a0b7fc6cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ./src/cddb.c.orig   2004-06-15 17:20:09.000000000 -0400
+++ ./src/cddb.c    2012-03-05 13:42:25.000000000 -0500
@@ -229,10 +229,11 @@
     return concat_strings(get_home_dir(), "/.tcd/", cd_id, NULL);
 }
 
-extern int tcd_readdiskinfo(struct cd_info *cd, SDL_CD * cdrom)
+extern int tcd_readdiskinfo(struct tcd_state *cds, SDL_CD * cdrom)
 {
     int result;
     char *filename;
+    struct cd_info *cd = &cds->cd_info;
 
     result = 0;
     if ((filename = cddb_filename(cddb_discid(cdrom))) != NULL) {