mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Remove headers not being used directly
Fix clangd warnings regarding headers not being used directly.
This commit is contained in:
		
							parent
							
								
									6c287969d3
								
							
						
					
					
						commit
						266690091f
					
				
					 17 changed files with 0 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -12,9 +12,7 @@
 | 
			
		|||
#include "buffer.h"
 | 
			
		||||
#include "button/button-png.h"
 | 
			
		||||
#include "button/common.h"
 | 
			
		||||
#include "common/file-helpers.h"
 | 
			
		||||
#include "labwc.h"
 | 
			
		||||
#include "theme.h"
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * cairo_image_surface_create_from_png() does not gracefully handle non-png
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,9 +12,7 @@
 | 
			
		|||
#include "buffer.h"
 | 
			
		||||
#include "button/button-svg.h"
 | 
			
		||||
#include "button/common.h"
 | 
			
		||||
#include "common/file-helpers.h"
 | 
			
		||||
#include "labwc.h"
 | 
			
		||||
#include "theme.h"
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
button_svg_load(const char *button_name, struct lab_data_buffer **buffer,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,11 +15,8 @@
 | 
			
		|||
#include <drm_fourcc.h>
 | 
			
		||||
#include "button/button-xbm.h"
 | 
			
		||||
#include "button/common.h"
 | 
			
		||||
#include "common/dir.h"
 | 
			
		||||
#include "common/grab-file.h"
 | 
			
		||||
#include "common/mem.h"
 | 
			
		||||
#include "config/rcxml.h"
 | 
			
		||||
#include "theme.h"
 | 
			
		||||
#include "buffer.h"
 | 
			
		||||
 | 
			
		||||
enum token_type {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,4 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-only
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <cairo.h>
 | 
			
		||||
#include <drm_fourcc.h>
 | 
			
		||||
#include <pango/pangocairo.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,4 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-only
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include <strings.h>
 | 
			
		||||
#include <wlr/util/log.h>
 | 
			
		||||
#include "common/parse-bool.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,6 @@
 | 
			
		|||
#include <assert.h>
 | 
			
		||||
#include <glib.h>
 | 
			
		||||
#include <signal.h>
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include <sys/wait.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,8 +1,6 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-only
 | 
			
		||||
#define _POSIX_C_SOURCE 200809L
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <ctype.h>
 | 
			
		||||
#include <errno.h>
 | 
			
		||||
#include <fcntl.h>
 | 
			
		||||
#include <libxml/parser.h>
 | 
			
		||||
#include <libxml/tree.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,5 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-only
 | 
			
		||||
#define _POSIX_C_SOURCE 200809L
 | 
			
		||||
#include <ctype.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -9,7 +8,6 @@
 | 
			
		|||
#include <wlr/util/log.h>
 | 
			
		||||
#include "common/buf.h"
 | 
			
		||||
#include "common/file-helpers.h"
 | 
			
		||||
#include "common/mem.h"
 | 
			
		||||
#include "common/spawn.h"
 | 
			
		||||
#include "common/string-helpers.h"
 | 
			
		||||
#include "config/session.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,6 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-only
 | 
			
		||||
#include "config.h"
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include "common/list.h"
 | 
			
		||||
#include "common/scene-helpers.h"
 | 
			
		||||
#include "dnd.h"
 | 
			
		||||
#include "labwc.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,6 @@
 | 
			
		|||
#include <wlr/types/wlr_data_device.h>
 | 
			
		||||
#include <wlr/types/wlr_scene.h>
 | 
			
		||||
#include <wlr/util/log.h>
 | 
			
		||||
#include "common/mem.h"
 | 
			
		||||
#include "dnd.h"
 | 
			
		||||
#include "input/cursor.h"
 | 
			
		||||
#include "labwc.h"  /* for struct seat */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,7 +15,6 @@
 | 
			
		|||
#include <wlr/types/wlr_layer_shell_v1.h>
 | 
			
		||||
#include <wlr/util/log.h>
 | 
			
		||||
#include "common/macros.h"
 | 
			
		||||
#include "common/list.h"
 | 
			
		||||
#include "common/mem.h"
 | 
			
		||||
#include "config/rcxml.h"
 | 
			
		||||
#include "layers.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,6 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-only
 | 
			
		||||
#define _POSIX_C_SOURCE 200809L
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <ctype.h>
 | 
			
		||||
#include <libxml/parser.h>
 | 
			
		||||
#include <libxml/tree.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@
 | 
			
		|||
 */
 | 
			
		||||
 | 
			
		||||
#define _POSIX_C_SOURCE 200809L
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <strings.h>
 | 
			
		||||
#include <wlr/backend/drm.h>
 | 
			
		||||
#include <wlr/backend/headless.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,4 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-only
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <strings.h>
 | 
			
		||||
#include <wlr/util/box.h>
 | 
			
		||||
#include "labwc.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,10 +9,8 @@
 | 
			
		|||
#include "config.h"
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <cairo.h>
 | 
			
		||||
#include <ctype.h>
 | 
			
		||||
#include <drm_fourcc.h>
 | 
			
		||||
#include <glib.h>
 | 
			
		||||
#include <math.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,5 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-only
 | 
			
		||||
/* view-impl-common.c: common code for shell view->impl functions */
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <strings.h>
 | 
			
		||||
#include "common/list.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,5 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-only
 | 
			
		||||
#define _POSIX_C_SOURCE 200809L
 | 
			
		||||
#include "config.h"
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include <cairo.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue