diff --git a/src/command/StickerCommands.cxx b/src/command/StickerCommands.cxx index 5ce689a14..4403c832c 100644 --- a/src/command/StickerCommands.cxx +++ b/src/command/StickerCommands.cxx @@ -31,10 +31,12 @@ #include "util/StringAPI.hxx" #include "util/ScopeExit.hxx" +namespace { struct sticker_song_find_data { Response &r; const char *name; }; +} static void sticker_song_find_print_cb(const LightSong &song, const char *value, diff --git a/src/sticker/SongSticker.cxx b/src/sticker/SongSticker.cxx index dba2a29db..cccaeba92 100644 --- a/src/sticker/SongSticker.cxx +++ b/src/sticker/SongSticker.cxx @@ -69,6 +69,7 @@ sticker_song_get(const LightSong &song) return sticker_load("song", uri.c_str()); } +namespace { struct sticker_song_find_data { const Database *db; const char *base_uri; @@ -78,6 +79,7 @@ struct sticker_song_find_data { void *user_data); void *user_data; }; +} static void sticker_song_find_cb(const char *uri, const char *value, void *user_data)