aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistVector.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 22:01:04 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 22:01:04 +0100
commit98dbdf72b3c35878494df4954a447cec250a835d (patch)
tree338c759e3f79acadb757ce9e13f1cd3c224c454d /src/PlaylistVector.cxx
parent51a2d09eb7fd8bc22a25e151878e6809b58bc21f (diff)
downloadmpd-98dbdf72b3c35878494df4954a447cec250a835d.tar.gz
mpd-98dbdf72b3c35878494df4954a447cec250a835d.tar.xz
mpd-98dbdf72b3c35878494df4954a447cec250a835d.zip
PlaylistVector: move struct playlist_metadata to PlaylistInfo.hxx
Diffstat (limited to '')
-rw-r--r--src/PlaylistVector.cxx23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/PlaylistVector.cxx b/src/PlaylistVector.cxx
index b9f671929..726a69337 100644
--- a/src/PlaylistVector.cxx
+++ b/src/PlaylistVector.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -25,27 +25,6 @@
#include <string.h>
#include <glib.h>
-static struct playlist_metadata *
-playlist_metadata_new(const char *name, time_t mtime)
-{
- assert(name != NULL);
-
- struct playlist_metadata *pm = g_slice_new(struct playlist_metadata);
- pm->name = g_strdup(name);
- pm->mtime = mtime;
- return pm;
-}
-
-static void
-playlist_metadata_free(struct playlist_metadata *pm)
-{
- assert(pm != NULL);
- assert(pm->name != NULL);
-
- g_free(pm->name);
- g_slice_free(struct playlist_metadata, pm);
-}
-
void
playlist_vector_deinit(struct list_head *pv)
{