mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
convert C prototypes for functions with no args from () to (void)
This commit is contained in:
@@ -360,7 +360,7 @@ extern FLAC_API const char * const FLAC__Metadata_SimpleIteratorStatusString[];
|
||||
* \retval FLAC__Metadata_SimpleIterator*
|
||||
* \c NULL if there was an error allocating memory, else the new instance.
|
||||
*/
|
||||
FLAC_API FLAC__Metadata_SimpleIterator *FLAC__metadata_simple_iterator_new();
|
||||
FLAC_API FLAC__Metadata_SimpleIterator *FLAC__metadata_simple_iterator_new(void);
|
||||
|
||||
/** Free an iterator instance. Deletes the object pointed to by \a iterator.
|
||||
*
|
||||
@@ -723,7 +723,7 @@ extern FLAC_API const char * const FLAC__Metadata_ChainStatusString[];
|
||||
* \retval FLAC__Metadata_Chain*
|
||||
* \c NULL if there was an error allocating memory, else the new instance.
|
||||
*/
|
||||
FLAC_API FLAC__Metadata_Chain *FLAC__metadata_chain_new();
|
||||
FLAC_API FLAC__Metadata_Chain *FLAC__metadata_chain_new(void);
|
||||
|
||||
/** Free a chain instance. Deletes the object pointed to by \a chain.
|
||||
*
|
||||
@@ -1017,7 +1017,7 @@ FLAC_API void FLAC__metadata_chain_sort_padding(FLAC__Metadata_Chain *chain);
|
||||
* \retval FLAC__Metadata_Iterator*
|
||||
* \c NULL if there was an error allocating memory, else the new instance.
|
||||
*/
|
||||
FLAC_API FLAC__Metadata_Iterator *FLAC__metadata_iterator_new();
|
||||
FLAC_API FLAC__Metadata_Iterator *FLAC__metadata_iterator_new(void);
|
||||
|
||||
/** Free an iterator instance. Deletes the object pointed to by \a iterator.
|
||||
*
|
||||
@@ -1772,7 +1772,7 @@ FLAC_API int FLAC__metadata_object_vorbiscomment_remove_entries_matching(FLAC__S
|
||||
* \retval FLAC__StreamMetadata_CueSheet_Track*
|
||||
* \c NULL if there was an error allocating memory, else the new instance.
|
||||
*/
|
||||
FLAC_API FLAC__StreamMetadata_CueSheet_Track *FLAC__metadata_object_cuesheet_track_new();
|
||||
FLAC_API FLAC__StreamMetadata_CueSheet_Track *FLAC__metadata_object_cuesheet_track_new(void);
|
||||
|
||||
/** Create a copy of an existing CUESHEET track object.
|
||||
*
|
||||
|
||||
@@ -739,7 +739,7 @@ typedef void (*FLAC__StreamDecoderErrorCallback)(const FLAC__StreamDecoder *deco
|
||||
* \retval FLAC__StreamDecoder*
|
||||
* \c NULL if there was an error allocating memory, else the new instance.
|
||||
*/
|
||||
FLAC_API FLAC__StreamDecoder *FLAC__stream_decoder_new();
|
||||
FLAC_API FLAC__StreamDecoder *FLAC__stream_decoder_new(void);
|
||||
|
||||
/** Free a decoder instance. Deletes the object pointed to by \a decoder.
|
||||
*
|
||||
|
||||
@@ -690,7 +690,7 @@ typedef void (*FLAC__StreamEncoderProgressCallback)(const FLAC__StreamEncoder *e
|
||||
* \retval FLAC__StreamEncoder*
|
||||
* \c NULL if there was an error allocating memory, else the new instance.
|
||||
*/
|
||||
FLAC_API FLAC__StreamEncoder *FLAC__stream_encoder_new();
|
||||
FLAC_API FLAC__StreamEncoder *FLAC__stream_encoder_new(void);
|
||||
|
||||
/** Free an encoder instance. Deletes the object pointed to by \a encoder.
|
||||
*
|
||||
|
||||
@@ -53,8 +53,8 @@ FLAC__bool grabbag__file_are_same(const char *f1, const char *f2);
|
||||
FLAC__bool grabbag__file_remove_file(const char *filename);
|
||||
|
||||
/* these will forcibly set stdin/stdout to binary mode (for OSes that require it) */
|
||||
FILE *grabbag__file_get_binary_stdin();
|
||||
FILE *grabbag__file_get_binary_stdout();
|
||||
FILE *grabbag__file_get_binary_stdin(void);
|
||||
FILE *grabbag__file_get_binary_stdout(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user