Commit 75789d14 authored by Avuton Olrich's avatar Avuton Olrich

[CLEANUP] Remove unused functions from the header

Convert some spaces to tabs Static what makes sense Remove unused includes git-svn-id: https://svn.musicpd.org/mpd/trunk@4328 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 21d8065b
...@@ -24,9 +24,6 @@ ...@@ -24,9 +24,6 @@
#include "song.h" #include "song.h"
#include "list.h" #include "list.h"
#include <stdio.h>
#include <sys/param.h>
typedef List DirectoryList; typedef List DirectoryList;
typedef struct _DirectoryStat { typedef struct _DirectoryStat {
...@@ -44,8 +41,6 @@ typedef struct _Directory { ...@@ -44,8 +41,6 @@ typedef struct _Directory {
void readDirectoryDBIfUpdateIsFinished(); void readDirectoryDBIfUpdateIsFinished();
void clearUpdatePid();
int isUpdatingDB(); int isUpdatingDB();
void directory_sigChldHandler(int pid, int status); void directory_sigChldHandler(int pid, int status);
...@@ -75,11 +70,6 @@ int traverseAllIn(FILE * fp, char * name, ...@@ -75,11 +70,6 @@ int traverseAllIn(FILE * fp, char * name,
int (*forEachDir)(FILE *, Directory *, void *), int (*forEachDir)(FILE *, Directory *, void *),
void * data); void * data);
/* don't free this */
/*char * getDirectoryPath(Directory * dir);*/
#define getDirectoryPath(dir) ((dir && dir->path) ? dir->path : "") #define getDirectoryPath(dir) ((dir && dir->path) ? dir->path : "")
/* free the string that is returned */
char * catDirAndFileName(Directory * dir, char * filename);
#endif #endif
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