mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	Rename all instances of typeof
This commit is contained in:
		
							parent
							
								
									5e078bfa5a
								
							
						
					
					
						commit
						bc79f1f820
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -119,7 +119,7 @@ void wl_list_insert_list(struct wl_list *list, struct wl_list *other);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __GNUC__
 | 
					#ifdef __GNUC__
 | 
				
			||||||
#define __container_of(ptr, sample, member)				\
 | 
					#define __container_of(ptr, sample, member)				\
 | 
				
			||||||
	(typeof(sample))((char *)(ptr)	-				\
 | 
						(__typeof__(sample))((char *)(ptr)	-			\
 | 
				
			||||||
		 ((char *)&(sample)->member - (char *)(sample)))
 | 
							 ((char *)&(sample)->member - (char *)(sample)))
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
#define __container_of(ptr, sample, member)				\
 | 
					#define __container_of(ptr, sample, member)				\
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue