mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-04 05:15:22 +00:00 
			
		
		
		
	since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		@@ -111,7 +111,7 @@ int load_module(void)
 | 
			
		||||
	return ast_register_application(app, echo_exec, synopsis, descrip);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
char *description(void)
 | 
			
		||||
const char *description(void)
 | 
			
		||||
{
 | 
			
		||||
	return tdesc;
 | 
			
		||||
}
 | 
			
		||||
@@ -123,7 +123,7 @@ int usecount(void)
 | 
			
		||||
	return res;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
char *key()
 | 
			
		||||
const char *key()
 | 
			
		||||
{
 | 
			
		||||
	return ASTERISK_GPL_KEY;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user