diff options
author | Laurent Napias <[email protected]> | 2019-06-29 11:50:53 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-07-01 02:49:33 +0000 |
commit | 8d22bd7590c3487df96f8dc3972173236c66de87 (patch) | |
tree | 14ccecbfa067a2d7ab2bdb315686d01a20ecc084 /plugins/clipboard/list.h | |
parent | 86362cdd37c71ad4d6b9a1c506838b201953fd29 (diff) | |
download | mate-settings-daemon-8d22bd7590c3487df96f8dc3972173236c66de87.tar.bz2 mate-settings-daemon-8d22bd7590c3487df96f8dc3972173236c66de87.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'plugins/clipboard/list.h')
-rw-r--r-- | plugins/clipboard/list.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/clipboard/list.h b/plugins/clipboard/list.h index 158b779..04cf1e1 100644 --- a/plugins/clipboard/list.h +++ b/plugins/clipboard/list.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * Author: Matthias Clasen, Red Hat, Inc. @@ -24,23 +24,23 @@ #define LIST_H -typedef struct _List List; -typedef void (*Callback) (void *data, +typedef struct _List List; +typedef void (*Callback) (void *data, void *user_data); -struct _List +struct _List { void *data; List *next; }; -typedef int (*ListFindFunc) (void *data, +typedef int (*ListFindFunc) (void *data, void *user_data); -void list_foreach (List *list, - Callback func, +void list_foreach (List *list, + Callback func, void *user_data); List *list_prepend (List *list, void *data); |