mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	client: Make proxy_destroy a static function
proxy_destroy() is just the implementation of the atomic part of wl_proxy_destroy(), so lets make it static. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
		
							parent
							
								
									85b80f5cf0
								
							
						
					
					
						commit
						9a652c44f7
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
					@ -252,9 +252,6 @@ decrease_closure_args_refcount(struct wl_closure *closure)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					 | 
				
			||||||
proxy_destroy(struct wl_proxy *proxy);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
wl_event_queue_release(struct wl_event_queue *queue)
 | 
					wl_event_queue_release(struct wl_event_queue *queue)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					@ -404,7 +401,7 @@ wl_proxy_create_for_id(struct wl_proxy *factory,
 | 
				
			||||||
	return proxy;
 | 
						return proxy;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					static void
 | 
				
			||||||
proxy_destroy(struct wl_proxy *proxy)
 | 
					proxy_destroy(struct wl_proxy *proxy)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	if (proxy->flags & WL_PROXY_FLAG_ID_DELETED)
 | 
						if (proxy->flags & WL_PROXY_FLAG_ID_DELETED)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue