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
549344d3
Commit
549344d3
authored
Apr 14, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add vim shiznit to end of all source files
git-svn-id:
https://svn.musicpd.org/mpd/trunk@750
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
87e87e12
Hide whitespace changes
Inline
Side-by-side
Showing
70 changed files
with
70 additions
and
0 deletions
+70
-0
aac_decode.c
src/aac_decode.c
+1
-0
aac_decode.h
src/aac_decode.h
+1
-0
audio.c
src/audio.c
+1
-0
audio.h
src/audio.h
+1
-0
audiofile_decode.c
src/audiofile_decode.c
+1
-0
audiofile_decode.h
src/audiofile_decode.h
+1
-0
buffer2array.c
src/buffer2array.c
+1
-0
buffer2array.h
src/buffer2array.h
+1
-0
charConv.c
src/charConv.c
+1
-0
charConv.h
src/charConv.h
+1
-0
command.c
src/command.c
+1
-0
command.h
src/command.h
+1
-0
conf.c
src/conf.c
+1
-0
conf.h
src/conf.h
+1
-0
decode.c
src/decode.c
+1
-0
decode.h
src/decode.h
+1
-0
directory.c
src/directory.c
+1
-0
directory.h
src/directory.h
+1
-0
flac_decode.c
src/flac_decode.c
+1
-0
flac_decode.h
src/flac_decode.h
+1
-0
interface.c
src/interface.c
+1
-0
interface.h
src/interface.h
+1
-0
list.c
src/list.c
+1
-0
list.h
src/list.h
+1
-0
listen.c
src/listen.c
+1
-0
listen.h
src/listen.h
+1
-0
log.c
src/log.c
+1
-0
log.h
src/log.h
+1
-0
ls.c
src/ls.c
+1
-0
ls.h
src/ls.h
+1
-0
main.c
src/main.c
+1
-0
mp3_decode.c
src/mp3_decode.c
+1
-0
mp3_decode.h
src/mp3_decode.h
+1
-0
mp4_decode.c
src/mp4_decode.c
+1
-0
mp4_decode.h
src/mp4_decode.h
+1
-0
mpd_types.h
src/mpd_types.h
+1
-0
myfprintf.c
src/myfprintf.c
+1
-0
myfprintf.h
src/myfprintf.h
+1
-0
ogg_decode.c
src/ogg_decode.c
+1
-0
ogg_decode.h
src/ogg_decode.h
+1
-0
path.c
src/path.c
+1
-0
path.h
src/path.h
+1
-0
pcm_utils.c
src/pcm_utils.c
+1
-0
pcm_utils.h
src/pcm_utils.h
+1
-0
permission.c
src/permission.c
+1
-0
permission.h
src/permission.h
+1
-0
player.c
src/player.c
+1
-0
player.h
src/player.h
+1
-0
playerData.c
src/playerData.c
+1
-0
playerData.h
src/playerData.h
+1
-0
playlist.c
src/playlist.c
+1
-0
playlist.h
src/playlist.h
+1
-0
sig_handlers.c
src/sig_handlers.c
+1
-0
sig_handlers.h
src/sig_handlers.h
+1
-0
signal_check.c
src/signal_check.c
+1
-0
signal_check.h
src/signal_check.h
+1
-0
song.c
src/song.c
+1
-0
song.h
src/song.h
+1
-0
stats.c
src/stats.c
+1
-0
stats.h
src/stats.h
+1
-0
tables.c
src/tables.c
+1
-0
tables.h
src/tables.h
+1
-0
tag.c
src/tag.c
+1
-0
tag.h
src/tag.h
+1
-0
utf8.c
src/utf8.c
+1
-0
utf8.h
src/utf8.h
+1
-0
utils.c
src/utils.c
+1
-0
utils.h
src/utils.h
+1
-0
volume.c
src/volume.c
+1
-0
volume.h
src/volume.h
+1
-0
No files found.
src/aac_decode.c
View file @
549344d3
...
@@ -432,3 +432,4 @@ int aac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
...
@@ -432,3 +432,4 @@ int aac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
}
#endif
/* HAVE_FAAD */
#endif
/* HAVE_FAAD */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/aac_decode.h
View file @
549344d3
...
@@ -32,3 +32,4 @@ int aac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
...
@@ -32,3 +32,4 @@ int aac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
#endif
/* HAVE_FAAD */
#endif
/* HAVE_FAAD */
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/audio.c
View file @
549344d3
...
@@ -220,3 +220,4 @@ void audioError() {
...
@@ -220,3 +220,4 @@ void audioError() {
}
}
#endif
#endif
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/audio.h
View file @
549344d3
...
@@ -48,3 +48,4 @@ void audioError();
...
@@ -48,3 +48,4 @@ void audioError();
int
isCurrentAudioFormat
(
AudioFormat
*
audioFormat
);
int
isCurrentAudioFormat
(
AudioFormat
*
audioFormat
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/audiofile_decode.c
View file @
549344d3
...
@@ -147,3 +147,4 @@ int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
...
@@ -147,3 +147,4 @@ int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
}
}
#endif
/* HAVE_AUDIOFILE */
#endif
/* HAVE_AUDIOFILE */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/audiofile_decode.h
View file @
549344d3
...
@@ -33,3 +33,4 @@ int getAudiofileTotalTime(char * file);
...
@@ -33,3 +33,4 @@ int getAudiofileTotalTime(char * file);
#endif
/* HAVE_AUDIOFILE */
#endif
/* HAVE_AUDIOFILE */
#endif
/* AUDIOFILE_DECODE_H */
#endif
/* AUDIOFILE_DECODE_H */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/buffer2array.c
View file @
549344d3
...
@@ -120,3 +120,4 @@ void freeArgArray(char ** array, int argArrayLength) {
...
@@ -120,3 +120,4 @@ void freeArgArray(char ** array, int argArrayLength) {
}
}
free
(
array
);
free
(
array
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/buffer2array.h
View file @
549344d3
...
@@ -26,3 +26,4 @@ int buffer2array(char * buffer, char *** array);
...
@@ -26,3 +26,4 @@ int buffer2array(char * buffer, char *** array);
void
freeArgArray
(
char
**
array
,
int
argArrayLength
);
void
freeArgArray
(
char
**
array
,
int
argArrayLength
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/charConv.c
View file @
549344d3
...
@@ -147,3 +147,4 @@ void closeCharSetConversion() {
...
@@ -147,3 +147,4 @@ void closeCharSetConversion() {
char_conv_use_iconv
=
0
;
char_conv_use_iconv
=
0
;
}
}
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/charConv.h
View file @
549344d3
...
@@ -28,3 +28,4 @@ char * convStrDup(char * string);
...
@@ -28,3 +28,4 @@ char * convStrDup(char * string);
void
closeCharSetConversion
();
void
closeCharSetConversion
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/command.c
View file @
549344d3
...
@@ -765,3 +765,4 @@ int proccessListOfCommands(FILE * fp, int * permission, int * expired,
...
@@ -765,3 +765,4 @@ int proccessListOfCommands(FILE * fp, int * permission, int * expired,
int
processCommand
(
FILE
*
fp
,
unsigned
int
*
permission
,
char
*
commandString
)
{
int
processCommand
(
FILE
*
fp
,
unsigned
int
*
permission
,
char
*
commandString
)
{
return
processCommandInternal
(
fp
,
permission
,
commandString
,
NULL
);
return
processCommandInternal
(
fp
,
permission
,
commandString
,
NULL
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/command.h
View file @
549344d3
...
@@ -41,3 +41,4 @@ void initCommands();
...
@@ -41,3 +41,4 @@ void initCommands();
void
finishCommands
();
void
finishCommands
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/conf.c
View file @
549344d3
...
@@ -268,3 +268,4 @@ char ** readConf(char * file) {
...
@@ -268,3 +268,4 @@ char ** readConf(char * file) {
char
**
getConf
()
{
char
**
getConf
()
{
return
conf_params
;
return
conf_params
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/conf.h
View file @
549344d3
...
@@ -61,3 +61,4 @@ void initConf();
...
@@ -61,3 +61,4 @@ void initConf();
void
writeConf
(
char
*
file
);
void
writeConf
(
char
*
file
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/decode.c
View file @
549344d3
...
@@ -503,3 +503,4 @@ void decode() {
...
@@ -503,3 +503,4 @@ void decode() {
return
;
return
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/decode.h
View file @
549344d3
...
@@ -56,3 +56,4 @@ void decodeSigHandler(int sig);
...
@@ -56,3 +56,4 @@ void decodeSigHandler(int sig);
void
decode
();
void
decode
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/directory.c
View file @
549344d3
...
@@ -1182,3 +1182,4 @@ time_t getDbModTime() {
...
@@ -1182,3 +1182,4 @@ time_t getDbModTime() {
return
mtime
;
return
mtime
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/directory.h
View file @
549344d3
...
@@ -70,3 +70,4 @@ Song * getSong(char * file);
...
@@ -70,3 +70,4 @@ Song * getSong(char * file);
time_t
getDbModTime
();
time_t
getDbModTime
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/flac_decode.c
View file @
549344d3
...
@@ -311,3 +311,4 @@ int flac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
...
@@ -311,3 +311,4 @@ int flac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
}
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/flac_decode.h
View file @
549344d3
...
@@ -30,3 +30,4 @@ int flac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
...
@@ -30,3 +30,4 @@ int flac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
int
getFlacTotalTime
(
char
*
file
);
int
getFlacTotalTime
(
char
*
file
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/interface.c
View file @
549344d3
...
@@ -649,3 +649,4 @@ void printInterfaceOutBuffer(Interface * interface) {
...
@@ -649,3 +649,4 @@ void printInterfaceOutBuffer(Interface * interface) {
interface
->
outBuflen
=
0
;
interface
->
outBuflen
=
0
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/interface.h
View file @
549344d3
...
@@ -38,3 +38,4 @@ int interfacePrintWithFD(int fd, char * buffer);
...
@@ -38,3 +38,4 @@ int interfacePrintWithFD(int fd, char * buffer);
int
doIOForInterfaces
();
int
doIOForInterfaces
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/list.c
View file @
549344d3
...
@@ -482,3 +482,4 @@ void sortList(List * list) {
...
@@ -482,3 +482,4 @@ void sortList(List * list) {
quickSort
(
list
->
nodesArray
,
0
,
list
->
numberOfNodes
-
1
);
quickSort
(
list
->
nodesArray
,
0
,
list
->
numberOfNodes
-
1
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/list.h
View file @
549344d3
...
@@ -102,3 +102,4 @@ void clearList(List * list);
...
@@ -102,3 +102,4 @@ void clearList(List * list);
void
sortList
(
List
*
list
);
void
sortList
(
List
*
list
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/listen.c
View file @
549344d3
...
@@ -184,3 +184,4 @@ void getConnections(int sock) {
...
@@ -184,3 +184,4 @@ void getConnections(int sock) {
}
}
else
if
(
fd
<
0
)
ERROR
(
"Problems accept()'ing
\n
"
);
else
if
(
fd
<
0
)
ERROR
(
"Problems accept()'ing
\n
"
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/listen.h
View file @
549344d3
...
@@ -28,3 +28,4 @@ int establish(unsigned short port);
...
@@ -28,3 +28,4 @@ int establish(unsigned short port);
void
getConnections
(
int
sock
);
void
getConnections
(
int
sock
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/log.c
View file @
549344d3
...
@@ -37,3 +37,4 @@ void initLog() {
...
@@ -37,3 +37,4 @@ void initLog() {
}
}
else
ERROR
(
"unknown log level
\"
%s
\"\n
"
,
getConf
()[
CONF_LOG_LEVEL
]);
else
ERROR
(
"unknown log level
\"
%s
\"\n
"
,
getConf
()[
CONF_LOG_LEVEL
]);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/log.h
View file @
549344d3
...
@@ -43,3 +43,4 @@ extern int logLevel;
...
@@ -43,3 +43,4 @@ extern int logLevel;
void
initLog
();
void
initLog
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/ls.c
View file @
549344d3
...
@@ -219,3 +219,4 @@ int isMusic(char * utf8file, time_t * mtime) {
...
@@ -219,3 +219,4 @@ int isMusic(char * utf8file, time_t * mtime) {
return
0
;
return
0
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/ls.h
View file @
549344d3
...
@@ -49,3 +49,4 @@ int hasFlacSuffix(char * utf8file);
...
@@ -49,3 +49,4 @@ int hasFlacSuffix(char * utf8file);
char
*
dupAndStripPlaylistSuffix
(
char
*
file
);
char
*
dupAndStripPlaylistSuffix
(
char
*
file
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/main.c
View file @
549344d3
...
@@ -485,3 +485,4 @@ int main(int argc, char * argv[]) {
...
@@ -485,3 +485,4 @@ int main(int argc, char * argv[]) {
return
EXIT_SUCCESS
;
return
EXIT_SUCCESS
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/mp3_decode.c
View file @
549344d3
...
@@ -569,3 +569,4 @@ int mp3_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
...
@@ -569,3 +569,4 @@ int mp3_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
}
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/mp3_decode.h
View file @
549344d3
...
@@ -33,3 +33,4 @@ int mp3_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
...
@@ -33,3 +33,4 @@ int mp3_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
#endif
#endif
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/mp4_decode.c
View file @
549344d3
...
@@ -344,3 +344,4 @@ int mp4_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
...
@@ -344,3 +344,4 @@ int mp4_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
}
#endif
/* HAVE_FAAD */
#endif
/* HAVE_FAAD */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/mp4_decode.h
View file @
549344d3
...
@@ -38,3 +38,4 @@ int mp4_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
...
@@ -38,3 +38,4 @@ int mp4_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
#endif
/* HAVE_FAAD */
#endif
/* HAVE_FAAD */
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/mpd_types.h
View file @
549344d3
...
@@ -41,3 +41,4 @@ typedef signed long mpd_sint32;
...
@@ -41,3 +41,4 @@ typedef signed long mpd_sint32;
#endif
#endif
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/myfprintf.c
View file @
549344d3
...
@@ -85,3 +85,4 @@ void myfprintf(FILE * fp, char * format, ... ) {
...
@@ -85,3 +85,4 @@ void myfprintf(FILE * fp, char * format, ... ) {
va_end
(
arglist
);
va_end
(
arglist
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/myfprintf.h
View file @
549344d3
...
@@ -28,3 +28,4 @@ void myfprintfStdLogMode(FILE * out, FILE * err);
...
@@ -28,3 +28,4 @@ void myfprintfStdLogMode(FILE * out, FILE * err);
void
myfprintf
(
FILE
*
fp
,
char
*
format
,
...
);
void
myfprintf
(
FILE
*
fp
,
char
*
format
,
...
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/ogg_decode.c
View file @
549344d3
...
@@ -148,3 +148,4 @@ int ogg_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
...
@@ -148,3 +148,4 @@ int ogg_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
}
}
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/ogg_decode.h
View file @
549344d3
...
@@ -30,3 +30,4 @@ int ogg_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
...
@@ -30,3 +30,4 @@ int ogg_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
int
getOggTotalTime
(
char
*
file
);
int
getOggTotalTime
(
char
*
file
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/path.c
View file @
549344d3
...
@@ -241,3 +241,4 @@ char * sanitizePathDup(char * path) {
...
@@ -241,3 +241,4 @@ char * sanitizePathDup(char * path) {
return
realloc
(
ret
,
len
+
1
);
return
realloc
(
ret
,
len
+
1
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/path.h
View file @
549344d3
...
@@ -53,3 +53,4 @@ char * parentPath(char * path);
...
@@ -53,3 +53,4 @@ char * parentPath(char * path);
char
*
sanitizePathDup
(
char
*
path
);
char
*
sanitizePathDup
(
char
*
path
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/pcm_utils.c
View file @
549344d3
...
@@ -136,3 +136,4 @@ void pcm_mix(char * buffer1, char * buffer2, size_t bufferSize1,
...
@@ -136,3 +136,4 @@ void pcm_mix(char * buffer1, char * buffer2, size_t bufferSize1,
pcm_add
(
buffer1
,
buffer2
,
bufferSize1
,
bufferSize2
,
vol1
,
1000
-
vol1
,
format
);
pcm_add
(
buffer1
,
buffer2
,
bufferSize1
,
bufferSize2
,
vol1
,
1000
-
vol1
,
format
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/pcm_utils.h
View file @
549344d3
...
@@ -34,3 +34,4 @@ void pcm_mix(char * buffer1, char * buffer2, size_t bufferSize1,
...
@@ -34,3 +34,4 @@ void pcm_mix(char * buffer1, char * buffer2, size_t bufferSize1,
size_t
bufferSize2
,
AudioFormat
*
format
,
float
portion1
);
size_t
bufferSize2
,
AudioFormat
*
format
,
float
portion1
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/permission.c
View file @
549344d3
...
@@ -139,3 +139,4 @@ void finishPermissions() {
...
@@ -139,3 +139,4 @@ void finishPermissions() {
unsigned
int
getDefaultPermissions
()
{
unsigned
int
getDefaultPermissions
()
{
return
permission_default
;
return
permission_default
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/permission.h
View file @
549344d3
...
@@ -35,3 +35,4 @@ void finishPermissions();
...
@@ -35,3 +35,4 @@ void finishPermissions();
unsigned
int
getDefaultPermissions
();
unsigned
int
getDefaultPermissions
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/player.c
View file @
549344d3
...
@@ -474,3 +474,4 @@ int getPlayerChannels() {
...
@@ -474,3 +474,4 @@ int getPlayerChannels() {
return
pc
->
channels
;
return
pc
->
channels
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/player.h
View file @
549344d3
...
@@ -142,3 +142,4 @@ int getPlayerBits();
...
@@ -142,3 +142,4 @@ int getPlayerBits();
int
getPlayerChannels
();
int
getPlayerChannels
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/playerData.c
View file @
549344d3
...
@@ -130,3 +130,4 @@ PlayerData * getPlayerData() {
...
@@ -130,3 +130,4 @@ PlayerData * getPlayerData() {
void
freePlayerData
()
{
void
freePlayerData
()
{
shmdt
(
playerData_pd
);
shmdt
(
playerData_pd
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/playerData.h
View file @
549344d3
...
@@ -59,3 +59,4 @@ Buffer * getBuffer();
...
@@ -59,3 +59,4 @@ Buffer * getBuffer();
void
freePlayerData
();
void
freePlayerData
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/playlist.c
View file @
549344d3
...
@@ -1205,3 +1205,4 @@ int seekSongInPlaylist(FILE * fp, int song, float time) {
...
@@ -1205,3 +1205,4 @@ int seekSongInPlaylist(FILE * fp, int song, float time) {
return
playerSeek
(
fp
,
playlist
.
songs
[
playlist
.
order
[
i
]]
->
utf8file
,
time
);
return
playerSeek
(
fp
,
playlist
.
songs
[
playlist
.
order
[
i
]]
->
utf8file
,
time
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/playlist.h
View file @
549344d3
...
@@ -96,3 +96,4 @@ int seekSongInPlaylist(FILE * fp, int song, float time);
...
@@ -96,3 +96,4 @@ int seekSongInPlaylist(FILE * fp, int song, float time);
void
incrPlaylistVersion
();
void
incrPlaylistVersion
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/sig_handlers.c
View file @
549344d3
...
@@ -120,3 +120,4 @@ void unblockSignals() {
...
@@ -120,3 +120,4 @@ void unblockSignals() {
sigaddset
(
&
sset
,
SIGTERM
);
sigaddset
(
&
sset
,
SIGTERM
);
while
(
sigprocmask
(
SIG_UNBLOCK
,
&
sset
,
NULL
)
<
0
&&
errno
==
EINTR
);
while
(
sigprocmask
(
SIG_UNBLOCK
,
&
sset
,
NULL
)
<
0
&&
errno
==
EINTR
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/sig_handlers.h
View file @
549344d3
...
@@ -38,3 +38,4 @@ void blockTermSignal();
...
@@ -38,3 +38,4 @@ void blockTermSignal();
void
unblockTermSignal
();
void
unblockTermSignal
();
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/signal_check.c
View file @
549344d3
...
@@ -57,3 +57,4 @@ void signal_clear(int sig)
...
@@ -57,3 +57,4 @@ void signal_clear(int sig)
__caught_signals
[
sig
]
=
0
;
__caught_signals
[
sig
]
=
0
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/signal_check.h
View file @
549344d3
...
@@ -29,3 +29,4 @@ void signal_clear(int sig);
...
@@ -29,3 +29,4 @@ void signal_clear(int sig);
#endif
/* SIGNAL_CHECK_H */
#endif
/* SIGNAL_CHECK_H */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/song.c
View file @
549344d3
...
@@ -323,3 +323,4 @@ Song * songDup(Song * song) {
...
@@ -323,3 +323,4 @@ Song * songDup(Song * song) {
return
ret
;
return
ret
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/song.h
View file @
549344d3
...
@@ -61,3 +61,4 @@ int updateSongInfo(Song * song);
...
@@ -61,3 +61,4 @@ int updateSongInfo(Song * song);
Song
*
songDup
(
Song
*
song
);
Song
*
songDup
(
Song
*
song
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/stats.c
View file @
549344d3
...
@@ -46,3 +46,4 @@ int printStats(FILE * fp) {
...
@@ -46,3 +46,4 @@ int printStats(FILE * fp) {
myfprintf
(
fp
,
"db_update: %li
\n
"
,
getDbModTime
());
myfprintf
(
fp
,
"db_update: %li
\n
"
,
getDbModTime
());
return
0
;
return
0
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/stats.h
View file @
549344d3
...
@@ -38,3 +38,4 @@ void initStats();
...
@@ -38,3 +38,4 @@ void initStats();
int
printStats
(
FILE
*
fp
);
int
printStats
(
FILE
*
fp
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/tables.c
View file @
549344d3
...
@@ -197,3 +197,4 @@ int printAllKeysOfTable(FILE * fp, char * table, char * arg1) {
...
@@ -197,3 +197,4 @@ int printAllKeysOfTable(FILE * fp, char * table, char * arg1) {
return
-
1
;
return
-
1
;
}
}
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/tables.h
View file @
549344d3
...
@@ -41,3 +41,4 @@ unsigned long numberOfAlbums();
...
@@ -41,3 +41,4 @@ unsigned long numberOfAlbums();
int
printAllKeysOfTable
(
FILE
*
fp
,
char
*
table
,
char
*
arg1
);
int
printAllKeysOfTable
(
FILE
*
fp
,
char
*
table
,
char
*
arg1
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/tag.c
View file @
549344d3
...
@@ -508,3 +508,4 @@ MpdTag * mpdTagDup(MpdTag * tag) {
...
@@ -508,3 +508,4 @@ MpdTag * mpdTagDup(MpdTag * tag) {
return
ret
;
return
ret
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/tag.h
View file @
549344d3
...
@@ -62,3 +62,4 @@ void printMpdTag(FILE * fp, MpdTag * tag);
...
@@ -62,3 +62,4 @@ void printMpdTag(FILE * fp, MpdTag * tag);
MpdTag
*
mpdTagDup
(
MpdTag
*
tag
);
MpdTag
*
mpdTagDup
(
MpdTag
*
tag
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/utf8.c
View file @
549344d3
...
@@ -128,3 +128,4 @@ unsigned char * utf8StrToLatin1Dup(unsigned char * utf8) {
...
@@ -128,3 +128,4 @@ unsigned char * utf8StrToLatin1Dup(unsigned char * utf8) {
return
realloc
(
ret
,
len
+
1
);
return
realloc
(
ret
,
len
+
1
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/utf8.h
View file @
549344d3
...
@@ -32,3 +32,4 @@ int validateUtf8Char(unsigned char * utf8Char);
...
@@ -32,3 +32,4 @@ int validateUtf8Char(unsigned char * utf8Char);
int
validUtf8String
(
unsigned
char
*
string
);
int
validUtf8String
(
unsigned
char
*
string
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/utils.c
View file @
549344d3
...
@@ -57,3 +57,4 @@ void my_usleep(long usec) {
...
@@ -57,3 +57,4 @@ void my_usleep(long usec) {
select
(
0
,
NULL
,
NULL
,
NULL
,
&
tv
);
select
(
0
,
NULL
,
NULL
,
NULL
,
&
tv
);
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/utils.h
View file @
549344d3
...
@@ -32,3 +32,4 @@ void stripReturnChar(char * string);
...
@@ -32,3 +32,4 @@ void stripReturnChar(char * string);
void
my_usleep
(
long
usec
);
void
my_usleep
(
long
usec
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/volume.c
View file @
549344d3
...
@@ -430,3 +430,4 @@ int changeVolumeLevel(FILE * fp, int change, int rel) {
...
@@ -430,3 +430,4 @@ int changeVolumeLevel(FILE * fp, int change, int rel) {
return
-
1
;
return
-
1
;
}
}
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/volume.h
View file @
549344d3
...
@@ -38,3 +38,4 @@ int getVolumeLevel();
...
@@ -38,3 +38,4 @@ int getVolumeLevel();
int
changeVolumeLevel
(
FILE
*
fp
,
int
change
,
int
rel
);
int
changeVolumeLevel
(
FILE
*
fp
,
int
change
,
int
rel
);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
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