fixed invalid C prototypes

Signed-off-by: Eric Wong <normalperson@yhbt.net>

git-svn-id: https://svn.musicpd.org/mpd/trunk@7142 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Max Kellermann 2008-01-26 12:46:09 +00:00 committed by Eric Wong
parent 7d66859277
commit 28008e6977
7 changed files with 8 additions and 8 deletions

View File

@ -33,7 +33,7 @@
typedef struct _AudioOutput AudioOutput;
typedef int (*AudioOutputTestDefaultDeviceFunc) ();
typedef int (*AudioOutputTestDefaultDeviceFunc) (void);
typedef int (*AudioOutputInitDriverFunc) (AudioOutput * audioOutput,
ConfigParam * param);

View File

@ -36,7 +36,7 @@ typedef struct _FifoData {
Timer *timer;
} FifoData;
static FifoData *newFifoData()
static FifoData *newFifoData(void)
{
FifoData *ret;

View File

@ -64,7 +64,7 @@ static volatile int directory_reReadDB;
static volatile mpd_uint16 directory_updateJobId;
static DirectoryList *newDirectoryList();
static DirectoryList *newDirectoryList(void);
static int addToDirectory(Directory * directory, char *shortname, char *name);

View File

@ -31,10 +31,10 @@
/* optional, set this to NULL if the InputPlugin doesn't have/need one
* this must return < 0 if there is an error and >= 0 otherwise */
typedef int (*InputPlugin_initFunc) ();
typedef int (*InputPlugin_initFunc) (void);
/* optional, set this to NULL if the InputPlugin doesn't have/need one */
typedef void (*InputPlugin_finishFunc) ();
typedef void (*InputPlugin_finishFunc) (void);
/* boolean return value, returns 1 if the InputStream is decodable by
* the InputPlugin, 0 if not */

View File

@ -871,7 +871,7 @@ struct drms_s
#define P_DRMS ((struct drms_s *)p_drms)
void *drms_alloc()
void *drms_alloc(void)
{
struct drms_s *p_drms;

View File

@ -31,7 +31,7 @@ extern int drms_get_sys_key( uint32_t *p_sys_key );
extern int drms_get_user_key( uint32_t *p_sys_key,
uint32_t *p_user_key );
extern void *drms_alloc();
extern void *drms_alloc(void);
extern void drms_free( void *p_drms );
extern int drms_init( void *p_drms, uint32_t i_type,
uint8_t *p_info, uint32_t i_len );

View File

@ -27,7 +27,7 @@ void removeTagItemString(int type, char *string);
int getNumberOfTagItems(int type);
void printMemorySavedByTagTracker();
void printMemorySavedByTagTracker(void);
void resetVisitedFlagsInTagTracker(int type);