diff options
author | Max Kellermann <max@duempel.org> | 2013-01-03 17:27:26 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-03 17:36:28 +0100 |
commit | 7a982169c9dc3a673e922e7f3b9b73368cef0aae (patch) | |
tree | 7b9b28287d7ae934c0e75bd7f3b5f317ad7d2cac /src/StickerPrint.cxx | |
parent | f2510d60fad1c5811fba3d253ef1c8dabb712304 (diff) | |
download | mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.gz mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.xz mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.zip |
Client: rename the struct client to class Client
Diffstat (limited to 'src/StickerPrint.cxx')
-rw-r--r-- | src/StickerPrint.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/StickerPrint.cxx b/src/StickerPrint.cxx index 6a14620e0..1708ee4f0 100644 --- a/src/StickerPrint.cxx +++ b/src/StickerPrint.cxx @@ -23,7 +23,7 @@ #include "Client.hxx" void -sticker_print_value(struct client *client, +sticker_print_value(Client *client, const char *name, const char *value) { client_printf(client, "sticker: %s=%s\n", name, value); @@ -32,13 +32,13 @@ sticker_print_value(struct client *client, static void print_sticker_cb(const char *name, const char *value, void *data) { - struct client *client = (struct client *)data; + Client *client = (Client *)data; sticker_print_value(client, name, value); } void -sticker_print(struct client *client, const struct sticker *sticker) +sticker_print(Client *client, const struct sticker *sticker) { sticker_foreach(sticker, print_sticker_cb, client); } |