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:
@@ -46,7 +46,7 @@ typedef FLAC__bool (*FLAC__BitReaderReadCallback)(FLAC__byte buffer[], size_t *b
|
||||
/*
|
||||
* construction, deletion, initialization, etc functions
|
||||
*/
|
||||
FLAC__BitReader *FLAC__bitreader_new();
|
||||
FLAC__BitReader *FLAC__bitreader_new(void);
|
||||
void FLAC__bitreader_delete(FLAC__BitReader *br);
|
||||
FLAC__bool FLAC__bitreader_init(FLAC__BitReader *br, FLAC__BitReaderReadCallback rcb, void *cd);
|
||||
void FLAC__bitreader_free(FLAC__BitReader *br); /* does not 'free(br)' */
|
||||
|
||||
@@ -44,7 +44,7 @@ typedef struct FLAC__BitWriter FLAC__BitWriter;
|
||||
/*
|
||||
* construction, deletion, initialization, etc functions
|
||||
*/
|
||||
FLAC__BitWriter *FLAC__bitwriter_new();
|
||||
FLAC__BitWriter *FLAC__bitwriter_new(void);
|
||||
void FLAC__bitwriter_delete(FLAC__BitWriter *bw);
|
||||
FLAC__bool FLAC__bitwriter_init(FLAC__BitWriter *bw);
|
||||
void FLAC__bitwriter_free(FLAC__BitWriter *bw); /* does not 'free(buffer)' */
|
||||
|
||||
@@ -84,9 +84,9 @@ void FLAC__cpu_info(FLAC__CPUInfo *info);
|
||||
#ifndef FLAC__NO_ASM
|
||||
#ifdef FLAC__CPU_IA32
|
||||
#ifdef FLAC__HAS_NASM
|
||||
unsigned FLAC__cpu_info_asm_ia32();
|
||||
unsigned FLAC__cpu_info_extended_amd_asm_ia32();
|
||||
unsigned FLAC__cpu_info_sse_test_asm_ia32();
|
||||
unsigned FLAC__cpu_info_asm_ia32(void);
|
||||
unsigned FLAC__cpu_info_extended_amd_asm_ia32(void);
|
||||
unsigned FLAC__cpu_info_sse_test_asm_ia32(void);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user