diff options
author | nyorain <nyorain@gmail.com> | 2017-08-14 17:09:56 +0200 |
---|---|---|
committer | nyorain <nyorain@gmail.com> | 2017-08-14 17:09:56 +0200 |
commit | f998bb82995c2086e05b0949bef76506740407f4 (patch) | |
tree | 732d20c340a6cae30a49e91019608ee6e0b24e9b /include/wlr | |
parent | 53052b3f6e457f35d46fc3a71bd7eac96e55a484 (diff) |
Fix style issues
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_region.h | 6 | ||||
-rw-r--r-- | include/wlr/util/list.h | 2 |
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); |