mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	fix type mismatch.
* cont.c (fiber_context_create): `func` should accept variable args. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									e75d8e0c65
								
							
						
					
					
						commit
						76daf51c36
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								cont.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								cont.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -143,7 +143,7 @@ enum fiber_status {
 | 
			
		|||
 | 
			
		||||
#if FIBER_USE_NATIVE && !defined(_WIN32)
 | 
			
		||||
static inline void
 | 
			
		||||
fiber_context_create(ucontext_t *context, void (*func)(void *), void *arg, void *ptr, size_t size)
 | 
			
		||||
fiber_context_create(ucontext_t *context, void (*func)(), void *arg, void *ptr, size_t size)
 | 
			
		||||
{
 | 
			
		||||
    getcontext(context);
 | 
			
		||||
    context->uc_link = NULL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue