mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	finish const-ifying ast_func_read()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -45,7 +45,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") | ||||
| #include "asterisk/utils.h" | ||||
| #include "asterisk/app.h" | ||||
|  | ||||
| static int function_realtime_read(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len)  | ||||
| static int function_realtime_read(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len)  | ||||
| { | ||||
| 	struct ast_variable *var, *head; | ||||
|         struct ast_module_user *u; | ||||
| @@ -98,7 +98,7 @@ static int function_realtime_read(struct ast_channel *chan, char *cmd, char *dat | ||||
| 	return 0; | ||||
| } | ||||
|  | ||||
| static int function_realtime_write(struct ast_channel *chan, char *cmd, char *data, const char *value) | ||||
| static int function_realtime_write(struct ast_channel *chan, const char *cmd, char *data, const char *value) | ||||
| { | ||||
|         struct ast_module_user *u; | ||||
| 	int res = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user