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:
Warren Dukes 2004-04-14 14:53:41 +00:00
parent 87e87e12d3
commit 549344d38a
70 changed files with 70 additions and 0 deletions

View File

@ -432,3 +432,4 @@ int aac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
#endif /* HAVE_FAAD */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -32,3 +32,4 @@ int aac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
#endif /* HAVE_FAAD */
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -220,3 +220,4 @@ void audioError() {
}
#endif
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -48,3 +48,4 @@ void audioError();
int isCurrentAudioFormat(AudioFormat * audioFormat);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -147,3 +147,4 @@ int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
}
#endif /* HAVE_AUDIOFILE */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -33,3 +33,4 @@ int getAudiofileTotalTime(char * file);
#endif /* HAVE_AUDIOFILE */
#endif /* AUDIOFILE_DECODE_H */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -120,3 +120,4 @@ void freeArgArray(char ** array, int argArrayLength) {
}
free(array);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -26,3 +26,4 @@ int buffer2array(char * buffer, char *** array);
void freeArgArray(char ** array, int argArrayLength);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -147,3 +147,4 @@ void closeCharSetConversion() {
char_conv_use_iconv = 0;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -28,3 +28,4 @@ char * convStrDup(char * string);
void closeCharSetConversion();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -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: */

View File

@ -41,3 +41,4 @@ void initCommands();
void finishCommands();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -268,3 +268,4 @@ char ** readConf(char * file) {
char ** getConf() {
return conf_params;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -61,3 +61,4 @@ void initConf();
void writeConf(char * file);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -503,3 +503,4 @@ void decode() {
return;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -56,3 +56,4 @@ void decodeSigHandler(int sig);
void decode();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -1182,3 +1182,4 @@ time_t getDbModTime() {
return mtime;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -70,3 +70,4 @@ Song * getSong(char * file);
time_t getDbModTime();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -311,3 +311,4 @@ int flac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -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: */

View File

@ -649,3 +649,4 @@ void printInterfaceOutBuffer(Interface * interface) {
interface->outBuflen = 0;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -38,3 +38,4 @@ int interfacePrintWithFD(int fd, char * buffer);
int doIOForInterfaces();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -482,3 +482,4 @@ void sortList(List * list) {
quickSort(list->nodesArray,0,list->numberOfNodes-1);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -102,3 +102,4 @@ void clearList(List * list);
void sortList(List * list);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -184,3 +184,4 @@ void getConnections(int sock) {
}
else if(fd<0) ERROR("Problems accept()'ing\n");
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -28,3 +28,4 @@ int establish(unsigned short port);
void getConnections(int sock);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -37,3 +37,4 @@ void initLog() {
}
else ERROR("unknown log level \"%s\"\n",getConf()[CONF_LOG_LEVEL]);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -43,3 +43,4 @@ extern int logLevel;
void initLog();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -219,3 +219,4 @@ int isMusic(char * utf8file, time_t * mtime) {
return 0;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -49,3 +49,4 @@ int hasFlacSuffix(char * utf8file);
char * dupAndStripPlaylistSuffix(char * file);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -485,3 +485,4 @@ int main(int argc, char * argv[]) {
return EXIT_SUCCESS;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -569,3 +569,4 @@ int mp3_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -33,3 +33,4 @@ int mp3_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -344,3 +344,4 @@ int mp4_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
#endif /* HAVE_FAAD */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -38,3 +38,4 @@ int mp4_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
#endif /* HAVE_FAAD */
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -41,3 +41,4 @@ typedef signed long mpd_sint32;
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -85,3 +85,4 @@ void myfprintf(FILE * fp, char * format, ... ) {
va_end(arglist);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -28,3 +28,4 @@ void myfprintfStdLogMode(FILE * out, FILE * err);
void myfprintf(FILE * fp, char * format, ... );
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -148,3 +148,4 @@ int ogg_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
}
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -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: */

View File

@ -241,3 +241,4 @@ char * sanitizePathDup(char * path) {
return realloc(ret,len+1);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -53,3 +53,4 @@ char * parentPath(char * path);
char * sanitizePathDup(char * path);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -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: */

View File

@ -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: */

View File

@ -139,3 +139,4 @@ void finishPermissions() {
unsigned int getDefaultPermissions() {
return permission_default;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -35,3 +35,4 @@ void finishPermissions();
unsigned int getDefaultPermissions();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -474,3 +474,4 @@ int getPlayerChannels() {
return pc->channels;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -142,3 +142,4 @@ int getPlayerBits();
int getPlayerChannels();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -130,3 +130,4 @@ PlayerData * getPlayerData() {
void freePlayerData() {
shmdt(playerData_pd);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -59,3 +59,4 @@ Buffer * getBuffer();
void freePlayerData();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -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: */

View File

@ -96,3 +96,4 @@ int seekSongInPlaylist(FILE * fp, int song, float time);
void incrPlaylistVersion();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -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: */

View File

@ -38,3 +38,4 @@ void blockTermSignal();
void unblockTermSignal();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -57,3 +57,4 @@ void signal_clear(int sig)
__caught_signals[sig] = 0;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -29,3 +29,4 @@ void signal_clear(int sig);
#endif /* SIGNAL_CHECK_H */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -323,3 +323,4 @@ Song * songDup(Song * song) {
return ret;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -61,3 +61,4 @@ int updateSongInfo(Song * song);
Song * songDup(Song * song);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -46,3 +46,4 @@ int printStats(FILE * fp) {
myfprintf(fp,"db_update: %li\n",getDbModTime());
return 0;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -38,3 +38,4 @@ void initStats();
int printStats(FILE * fp);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -197,3 +197,4 @@ int printAllKeysOfTable(FILE * fp, char * table, char * arg1) {
return -1;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -41,3 +41,4 @@ unsigned long numberOfAlbums();
int printAllKeysOfTable(FILE * fp, char * table, char * arg1);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -508,3 +508,4 @@ MpdTag * mpdTagDup(MpdTag * tag) {
return ret;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -62,3 +62,4 @@ void printMpdTag(FILE * fp, MpdTag * tag);
MpdTag * mpdTagDup(MpdTag * tag);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -128,3 +128,4 @@ unsigned char * utf8StrToLatin1Dup(unsigned char * utf8) {
return realloc(ret,len+1);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -32,3 +32,4 @@ int validateUtf8Char(unsigned char * utf8Char);
int validUtf8String(unsigned char * string);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -57,3 +57,4 @@ void my_usleep(long usec) {
select(0,NULL,NULL,NULL,&tv);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -32,3 +32,4 @@ void stripReturnChar(char * string);
void my_usleep(long usec);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -430,3 +430,4 @@ int changeVolumeLevel(FILE * fp, int change, int rel) {
return -1;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */

View File

@ -38,3 +38,4 @@ int getVolumeLevel();
int changeVolumeLevel(FILE * fp, int change, int rel);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */