aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-15 07:18:22 -0400
committerGitHub <noreply@github.com>2017-08-15 07:18:22 -0400
commitd2e796edb7256bb2e2b694a13c86e8bee7056309 (patch)
tree11bc14a473bdd501de890ee20189ce9e05327ed4 /include
parent5ca88af557178c0081fd408ae008686b79d6dd9c (diff)
parent7d0bf9a1a77420f09389bda1acafcd4bd42e82f1 (diff)
Merge pull request #86 from nyorain/master
Fix style issues
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);