mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-31 05:43:01 +00:00 
			
		
		
		
	Merge pull request #31 from SuperBFG7/compile
added forward declarations
This commit is contained in:
		| @@ -30,6 +30,8 @@ | |||||||
|  |  | ||||||
| /* forward declaration */ | /* forward declaration */ | ||||||
| static int mpd_notify_callback(struct mg_connection *c, enum mg_event ev); | 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[] = { | const char * mpd_cmd_strs[] = { | ||||||
|     MPD_CMDS(GEN_STR) |     MPD_CMDS(GEN_STR) | ||||||
|   | |||||||
| @@ -98,9 +98,11 @@ struct t_mpd { | |||||||
|  |  | ||||||
|     int song_id; |     int song_id; | ||||||
|     unsigned queue_version; |     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 { | struct t_mpd_client_session { | ||||||
|     int song_id; |     int song_id; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Schregenberger
					Daniel Schregenberger