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:
parent
7d66859277
commit
28008e6977
@ -33,7 +33,7 @@
|
||||
|
||||
typedef struct _AudioOutput AudioOutput;
|
||||
|
||||
typedef int (*AudioOutputTestDefaultDeviceFunc) ();
|
||||
typedef int (*AudioOutputTestDefaultDeviceFunc) (void);
|
||||
|
||||
typedef int (*AudioOutputInitDriverFunc) (AudioOutput * audioOutput,
|
||||
ConfigParam * param);
|
||||
|
@ -36,7 +36,7 @@ typedef struct _FifoData {
|
||||
Timer *timer;
|
||||
} FifoData;
|
||||
|
||||
static FifoData *newFifoData()
|
||||
static FifoData *newFifoData(void)
|
||||
{
|
||||
FifoData *ret;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 );
|
||||
|
@ -27,7 +27,7 @@ void removeTagItemString(int type, char *string);
|
||||
|
||||
int getNumberOfTagItems(int type);
|
||||
|
||||
void printMemorySavedByTagTracker();
|
||||
void printMemorySavedByTagTracker(void);
|
||||
|
||||
void resetVisitedFlagsInTagTracker(int type);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user