mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-28 05:04:16 -05:00
Use db_get_count() wherever applicable; simplify db_{pl,files}_get_count() prototypes
This commit is contained in:
4
src/db.h
4
src/db.h
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user