diff options
| author | Giulio Camuffo <giuliocamuffo@gmail.com> | 2013-04-03 17:29:16 +0200 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-04-03 12:46:57 -0400 |
| commit | 4e9892478ba2a57ebf1dc57f8e9aec963015b3f1 (patch) | |
| tree | b1ff19df0bd092fb29f7424f3413bd5ae5ea98d7 /src/wayland-util.h | |
| parent | wayland-server: Listen for pointer current surface destruction (diff) | |
| download | wayland-4e9892478ba2a57ebf1dc57f8e9aec963015b3f1.tar wayland-4e9892478ba2a57ebf1dc57f8e9aec963015b3f1.tar.gz wayland-4e9892478ba2a57ebf1dc57f8e9aec963015b3f1.tar.bz2 wayland-4e9892478ba2a57ebf1dc57f8e9aec963015b3f1.tar.lz wayland-4e9892478ba2a57ebf1dc57f8e9aec963015b3f1.tar.xz wayland-4e9892478ba2a57ebf1dc57f8e9aec963015b3f1.tar.zst wayland-4e9892478ba2a57ebf1dc57f8e9aec963015b3f1.zip | |
utils: const-ify some function arguments
Diffstat (limited to 'src/wayland-util.h')
| -rw-r--r-- | src/wayland-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wayland-util.h b/src/wayland-util.h index 4728aaa..dbe05a5 100644 --- a/src/wayland-util.h +++ b/src/wayland-util.h @@ -105,8 +105,8 @@ struct wl_list { void wl_list_init(struct wl_list *list); void wl_list_insert(struct wl_list *list, struct wl_list *elm); void wl_list_remove(struct wl_list *elm); -int wl_list_length(struct wl_list *list); -int wl_list_empty(struct wl_list *list); +int wl_list_length(const struct wl_list *list); +int wl_list_empty(const struct wl_list *list); void wl_list_insert_list(struct wl_list *list, struct wl_list *other); #ifdef __GNUC__ |
