Merge pull request #31 from SuperBFG7/compile

added forward declarations
This commit is contained in:
Daniel Schregenberger 2020-06-02 12:44:06 +02:00 committed by GitHub
commit df5a48f99f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -30,6 +30,8 @@
/* forward declaration */
static int mpd_notify_callback(struct mg_connection *c, enum mg_event ev);
char dirble_api_token[28];
struct t_mpd mpd;
const char * mpd_cmd_strs[] = {
MPD_CMDS(GEN_STR)

View File

@ -98,9 +98,11 @@ struct t_mpd {
int song_id;
unsigned queue_version;
} mpd;
};
char dirble_api_token[28];
extern struct t_mpd mpd;
extern char dirble_api_token[28];
struct t_mpd_client_session {
int song_id;