command: static-fication since commandError is no longer a macro
git-svn-id: https://svn.musicpd.org/mpd/trunk@4593 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
		| @@ -131,8 +131,8 @@ struct _CommandEntry { | |||||||
| 	CommandListHandlerFunction listHandler; | 	CommandListHandlerFunction listHandler; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| char *current_command = NULL; | static char *current_command = NULL; | ||||||
| int command_listNum = 0; | static int command_listNum = 0; | ||||||
|  |  | ||||||
| static CommandEntry *getCommandEntryFromString(char *string, int *permission); | static CommandEntry *getCommandEntryFromString(char *string, int *permission); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -34,9 +34,6 @@ | |||||||
| #define COMMAND_RETURN_CLOSE	20 | #define COMMAND_RETURN_CLOSE	20 | ||||||
| #define COMMAND_MASTER_READY	30 | #define COMMAND_MASTER_READY	30 | ||||||
|  |  | ||||||
| extern char *current_command; |  | ||||||
| extern int command_listNum; |  | ||||||
|  |  | ||||||
| int processListOfCommands(int fd, int *permission, int *expired, | int processListOfCommands(int fd, int *permission, int *expired, | ||||||
| 			  int listOK, struct strnode *list); | 			  int listOK, struct strnode *list); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Eric Wong
					Eric Wong