Commit d0c08c52 authored by Avuton Olrich's avatar Avuton Olrich

[CLEANUP] cleanup whitespace -> tabs

static where it makes sense git-svn-id: https://svn.musicpd.org/mpd/trunk@4344 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent fd2f9b8e
......@@ -602,7 +602,7 @@ void lockPlaylistInteraction() {
}
}
void unlockPlaylistInteraction() {
static void unlockPlaylistInteraction() {
playerQueueUnlock();
}
......@@ -627,11 +627,8 @@ int addToPlaylist(FILE * fp, char * url, int printId) {
if((song = getSongFromDB(url))) {
}
else if(isValidRemoteUtf8Url(url) &&
(song = newSong(url, SONG_TYPE_URL, NULL)))
{
}
else {
else if(!(isValidRemoteUtf8Url(url) &&
(song = newSong(url, SONG_TYPE_URL, NULL)))) {
commandError(fp, ACK_ERROR_NO_EXIST,
"\"%s\" is not in the music db or is "
"not a valid url", url);
......@@ -1128,7 +1125,7 @@ int moveSongInPlaylistById(FILE * fp, int id1, int to) {
return moveSongInPlaylist(fp, playlist.idToPosition[id1], to);
}
void orderPlaylist() {
static void orderPlaylist() {
int i;
if(playlist.current >= 0 && playlist.current < playlist.length) {
......@@ -1149,13 +1146,13 @@ void orderPlaylist() {
}
void swapOrder(int a, int b) {
static void swapOrder(int a, int b) {
int bak = playlist.order[a];
playlist.order[a] = playlist.order[b];
playlist.order[b] = bak;
}
void randomizeOrder(int start,int end) {
static void randomizeOrder(int start,int end) {
int i;
int ri;
......
......@@ -34,8 +34,6 @@ void initPlaylist();
void finishPlaylist();
void initPlaylist();
void readPlaylistState();
void savePlaylistState();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment