Use db_get_count() wherever applicable; simplify db_{pl,files}_get_count() prototypes

This commit is contained in:
Julien BLACHE
2009-06-11 18:41:50 +02:00
parent 2d1c35b855
commit c589d92b14
4 changed files with 14 additions and 142 deletions

View File

@@ -222,7 +222,7 @@ db_query_fetch_string(struct query_params *qp, char **string);
/* Files */
int
db_files_get_count(int *count);
db_files_get_count(void);
void
db_file_inc_playcount(int id);
@@ -259,7 +259,7 @@ db_file_enable_bycookie(uint32_t cookie, char *path);
/* Playlists */
int
db_pl_get_count(int *count);
db_pl_get_count(void);
void
db_pl_ping(int id);