diff options
author | rbuj <[email protected]> | 2021-10-20 09:28:10 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-03-10 23:19:54 +0100 |
commit | 4158bfe57dc7dfe224541ffd12095ba15dbdedcf (patch) | |
tree | 4b01b03374f05000c8fbcb5482fc57f0b7f55791 /plugins/clipboard | |
parent | b84d06bf1fe99874cdc6c18f2ae4f19acc158ca1 (diff) | |
download | mate-settings-daemon-4158bfe57dc7dfe224541ffd12095ba15dbdedcf.tar.bz2 mate-settings-daemon-4158bfe57dc7dfe224541ffd12095ba15dbdedcf.tar.xz |
Cppcheck: function parameter can be declared with const
Diffstat (limited to 'plugins/clipboard')
-rw-r--r-- | plugins/clipboard/list.c | 2 | ||||
-rw-r--r-- | plugins/clipboard/list.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/clipboard/list.c b/plugins/clipboard/list.c index 90ec339..eaadcf8 100644 --- a/plugins/clipboard/list.c +++ b/plugins/clipboard/list.c @@ -82,7 +82,7 @@ list_find (List *list, List * list_remove (List *list, - void *data) + const void *data) { List *tmp, *prev; diff --git a/plugins/clipboard/list.h b/plugins/clipboard/list.h index ae41ca1..fcbbf02 100644 --- a/plugins/clipboard/list.h +++ b/plugins/clipboard/list.h @@ -48,7 +48,7 @@ List *list_find (List *list, ListFindFunc func, void *user_data); List *list_remove (List *list, - void *data); + const void *data); int list_length (List *list); List *list_copy (List *list); |