Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
9819890f
Commit
9819890f
authored
Sep 29, 2008
by
Eric Wong
Committed by
Max Kellermann
Sep 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: deleteASongFromPlaylist takes a const Song *
We don't change the song pointer there, either.
parent
554f4a9f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
playlist.c
src/playlist.c
+1
-1
playlist.h
src/playlist.h
+1
-1
No files found.
src/playlist.c
View file @
9819890f
...
...
@@ -775,7 +775,7 @@ enum playlist_result deleteFromPlaylistById(int id)
return
deleteFromPlaylist
(
song
);
}
void
deleteASongFromPlaylist
(
Song
*
song
)
void
deleteASongFromPlaylist
(
const
Song
*
song
)
{
int
i
;
...
...
src/playlist.h
View file @
9819890f
...
...
@@ -101,7 +101,7 @@ enum playlist_result savePlaylist(const char *utf8file);
enum
playlist_result
deletePlaylist
(
const
char
*
utf8file
);
void
deleteASongFromPlaylist
(
Song
*
song
);
void
deleteASongFromPlaylist
(
const
Song
*
song
);
enum
playlist_result
moveSongInPlaylist
(
int
from
,
int
to
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment