aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_region.h6
-rw-r--r--include/wlr/util/list.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_region.h b/include/wlr/types/wlr_region.h
index 0aff48a3..9a64ac13 100644
--- a/include/wlr/types/wlr_region.h
+++ b/include/wlr/types/wlr_region.h
@@ -3,8 +3,10 @@
struct wl_resource;
-// Implements the given resource as region.
-// Sets the associated pixman_region32_t as userdata.
+/*
+ * Implements the given resource as region.
+ * Sets the associated pixman_region32_t as userdata.
+ */
void wlr_region_create(struct wl_client *client, struct wl_resource *res,
uint32_t id);
diff --git a/include/wlr/util/list.h b/include/wlr/util/list.h
index c82fbf7a..0c175132 100644
--- a/include/wlr/util/list.h
+++ b/include/wlr/util/list.h
@@ -11,7 +11,7 @@ typedef struct {
list_t *list_create(void);
void list_free(list_t *list);
-void list_foreach(list_t *list, void (*callback)(void* item));
+void list_foreach(list_t *list, void (*callback)(void *item));
void list_add(list_t *list, void *item);
void list_push(list_t *list, void *item);
void list_insert(list_t *list, size_t index, void *item);