aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-24 14:52:05 +0100
committerMax Kellermann <max@duempel.org>2009-01-24 14:52:05 +0100
commit53e712aca40d631bd26a2af4c0731aa8924cde5b (patch)
tree22654ae1cc2cfc2ef72c9fba38c8639064090ae8 /src/command.c
parent627d590ce524faf7ec197c54e65076107af27fe9 (diff)
downloadmpd-53e712aca40d631bd26a2af4c0731aa8924cde5b.tar.gz
mpd-53e712aca40d631bd26a2af4c0731aa8924cde5b.tar.xz
mpd-53e712aca40d631bd26a2af4c0731aa8924cde5b.zip
locate: renamed LocateTagItem to "struct locate_item"
No CamelCase and no typedefs.
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/command.c b/src/command.c
index 2000ecd26..911b6e8d8 100644
--- a/src/command.c
+++ b/src/command.c
@@ -34,6 +34,7 @@
#include "stored_playlist.h"
#include "ack.h"
#include "audio.h"
+#include "locate.h"
#include "dbUtils.h"
#include "tag.h"
#include "client.h"
@@ -832,8 +833,7 @@ static enum command_return
handle_find(struct client *client, int argc, char *argv[])
{
int ret;
-
- LocateTagItem *items;
+ struct locate_item *items;
int numItems = newLocateTagItemArrayFromArgArray(argv + 1,
argc - 1,
&items);
@@ -857,8 +857,7 @@ static enum command_return
handle_search(struct client *client, int argc, char *argv[])
{
int ret;
-
- LocateTagItem *items;
+ struct locate_item *items;
int numItems = newLocateTagItemArrayFromArgArray(argv + 1,
argc - 1,
&items);
@@ -882,8 +881,7 @@ static enum command_return
handle_count(struct client *client, int argc, char *argv[])
{
int ret;
-
- LocateTagItem *items;
+ struct locate_item *items;
int numItems = newLocateTagItemArrayFromArgArray(argv + 1,
argc - 1,
&items);
@@ -906,7 +904,7 @@ handle_count(struct client *client, int argc, char *argv[])
static enum command_return
handle_playlistfind(struct client *client, int argc, char *argv[])
{
- LocateTagItem *items;
+ struct locate_item *items;
int numItems = newLocateTagItemArrayFromArgArray(argv + 1,
argc - 1,
&items);
@@ -926,7 +924,7 @@ handle_playlistfind(struct client *client, int argc, char *argv[])
static enum command_return
handle_playlistsearch(struct client *client, int argc, char *argv[])
{
- LocateTagItem *items;
+ struct locate_item *items;
int numItems = newLocateTagItemArrayFromArgArray(argv + 1,
argc - 1,
&items);
@@ -1114,7 +1112,7 @@ static enum command_return
handle_list(struct client *client, int argc, char *argv[])
{
int numConditionals;
- LocateTagItem *conditionals = NULL;
+ struct locate_item *conditionals = NULL;
int tagType = getLocateTagItemType(argv[1]);
int ret;