diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-15 07:18:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 07:18:22 -0400 |
commit | d2e796edb7256bb2e2b694a13c86e8bee7056309 (patch) | |
tree | 11bc14a473bdd501de890ee20189ce9e05327ed4 /include | |
parent | 5ca88af557178c0081fd408ae008686b79d6dd9c (diff) | |
parent | 7d0bf9a1a77420f09389bda1acafcd4bd42e82f1 (diff) |
Merge pull request #86 from nyorain/master
Fix style issues
Diffstat (limited to 'include')
-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); |