diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2007-01-31 03:53:22 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2007-01-31 03:53:22 +0000 |
commit | e3ec2ad59ef4991f8f90422b39c2509535bcc56b (patch) | |
tree | 320eedab9589c76bd1cdd4d6ae7a9de936be3ffd /include | |
parent | 44eead85340cd6d83adbd405603e3aad83924979 (diff) | |
download | flac-e3ec2ad59ef4991f8f90422b39c2509535bcc56b.tar.gz |
convert C prototypes for functions with no args from () to (void)
Diffstat (limited to 'include')
-rw-r--r-- | include/FLAC/metadata.h | 8 | ||||
-rw-r--r-- | include/FLAC/stream_decoder.h | 2 | ||||
-rw-r--r-- | include/FLAC/stream_encoder.h | 2 | ||||
-rw-r--r-- | include/share/grabbag/file.h | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/include/FLAC/metadata.h b/include/FLAC/metadata.h index f3472688..c053266f 100644 --- a/include/FLAC/metadata.h +++ b/include/FLAC/metadata.h @@ -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. * diff --git a/include/FLAC/stream_decoder.h b/include/FLAC/stream_decoder.h index e28315c7..3dd4ab7a 100644 --- a/include/FLAC/stream_decoder.h +++ b/include/FLAC/stream_decoder.h @@ -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. * diff --git a/include/FLAC/stream_encoder.h b/include/FLAC/stream_encoder.h index 9fca5a48..4febf170 100644 --- a/include/FLAC/stream_encoder.h +++ b/include/FLAC/stream_encoder.h @@ -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. * diff --git a/include/share/grabbag/file.h b/include/share/grabbag/file.h index 0164e3d1..1b1c3aa0 100644 --- a/include/share/grabbag/file.h +++ b/include/share/grabbag/file.h @@ -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 } |