Enable more compiler warnings

This commit is contained in:
Consolatis 2023-01-31 03:35:13 +01:00
parent 1995a33df9
commit 82e9e866ec
12 changed files with 37 additions and 19 deletions

View file

@ -73,7 +73,7 @@ build_theme_path(struct ctx *ctx, char *prefix, const char *path)
}
}
char *
static char *
find_dir(struct ctx *ctx)
{
char *debug = getenv("LABWC_DEBUG_DIR_CONFIG_AND_THEME");

View file

@ -2,6 +2,7 @@
#include <assert.h>
#include <wlr/types/wlr_scene.h>
#include "common/scene-helpers.h"
struct wlr_scene_rect *
lab_wlr_scene_get_rect(struct wlr_scene_node *node)

View file

@ -2,6 +2,7 @@
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include "common/string-helpers.h"
static void
rtrim(char **s)