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