mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	gc.c (rb_free_m_tbl): mark function as static
* gc.c (rb_free_m_tbl): mark function as static * method.h (rb_free_m_tbl): remove prototype git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									ae3f3a991a
								
							
						
					
					
						commit
						688b4cb74c
					
				
					 3 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,9 @@
 | 
			
		|||
Fri May 23 03:48:08 2014  Eric Wong  <e@80x24.org>
 | 
			
		||||
 | 
			
		||||
	* gc.c (rb_free_m_tbl): mark function as static
 | 
			
		||||
 | 
			
		||||
	* method.h (rb_free_m_tbl): remove prototype
 | 
			
		||||
 | 
			
		||||
Thu May 22 22:58:27 2014  Tanaka Akira  <akr@fsij.org>
 | 
			
		||||
 | 
			
		||||
	* ext/socket/mkconstants.rb: More TCP option constants.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								gc.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								gc.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1476,7 +1476,7 @@ free_method_entry_i(st_data_t key, st_data_t value, st_data_t data)
 | 
			
		|||
    return ST_CONTINUE;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
static void
 | 
			
		||||
rb_free_m_tbl(st_table *tbl)
 | 
			
		||||
{
 | 
			
		||||
    st_foreach(tbl, free_method_entry_i, 0);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								method.h
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								method.h
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -136,7 +136,6 @@ VALUE rb_obj_method_location(VALUE obj, ID id);
 | 
			
		|||
void rb_mark_method_entry(const rb_method_entry_t *me);
 | 
			
		||||
void rb_free_method_entry(rb_method_entry_t *me);
 | 
			
		||||
void rb_sweep_method_entry(void *vm);
 | 
			
		||||
void rb_free_m_tbl(st_table *tbl);
 | 
			
		||||
void rb_free_m_tbl_wrapper(struct method_table_wrapper *wrapper);
 | 
			
		||||
 | 
			
		||||
#endif /* METHOD_H */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue