609 lines
25 KiB
Plaintext
609 lines
25 KiB
Plaintext
--- src/metaflac/operations.c-dist 2005-05-25 16:20:02.000000000 +0200
|
|
+++ src/metaflac/operations.c 2005-05-25 16:20:09.000000000 +0200
|
|
@@ -26,7 +26,7 @@
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
-static void show_version();
|
|
+static void show_version(void);
|
|
static FLAC__bool do_major_operation(const CommandLineOptions *options);
|
|
static FLAC__bool do_major_operation_on_file(const char *filename, const CommandLineOptions *options);
|
|
static FLAC__bool do_major_operation__list(const char *filename, FLAC__Metadata_Chain *chain, const CommandLineOptions *options);
|
|
@@ -83,7 +83,7 @@ FLAC__bool do_operations(const CommandLi
|
|
* local routines
|
|
*/
|
|
|
|
-void show_version()
|
|
+void show_version(void)
|
|
{
|
|
printf("metaflac %s\n", FLAC__VERSION_STRING);
|
|
}
|
|
--- src/plugin_xmms/plugin.c-dist 2005-05-25 16:25:03.000000000 +0200
|
|
+++ src/plugin_xmms/plugin.c 2005-05-25 16:25:34.000000000 +0200
|
|
@@ -109,14 +109,14 @@ typedef enum {
|
|
DECODER_HTTP
|
|
} decoder_t;
|
|
|
|
-static void FLAC_XMMS__init();
|
|
+static void FLAC_XMMS__init(void);
|
|
static int FLAC_XMMS__is_our_file(char *filename);
|
|
static void FLAC_XMMS__play_file(char *filename);
|
|
-static void FLAC_XMMS__stop();
|
|
+static void FLAC_XMMS__stop(void);
|
|
static void FLAC_XMMS__pause(short p);
|
|
static void FLAC_XMMS__seek(int time);
|
|
-static int FLAC_XMMS__get_time();
|
|
-static void FLAC_XMMS__cleanup();
|
|
+static int FLAC_XMMS__get_time(void);
|
|
+static void FLAC_XMMS__cleanup(void);
|
|
static void FLAC_XMMS__get_song_info(char *filename, char **title, int *length);
|
|
|
|
static void *play_loop_(void *arg);
|
|
@@ -128,7 +128,7 @@ static FLAC__StreamDecoderWriteStatus wr
|
|
static void metadata_callback_(const void *decoder, const FLAC__StreamMetadata *metadata, void *client_data);
|
|
static void error_callback_(const void *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data);
|
|
|
|
-static void init_decoder_func_tables();
|
|
+static void init_decoder_func_tables(void);
|
|
static decoder_t source_to_decoder_type (const char *source);
|
|
|
|
InputPlugin flac_ip =
|
|
@@ -181,7 +181,7 @@ static const decoder_funcs_t* DECODER_FU
|
|
static decoder_funcs_t const * decoder_func_table_;
|
|
|
|
|
|
-InputPlugin *get_iplugin_info()
|
|
+InputPlugin *get_iplugin_info(void)
|
|
{
|
|
flac_ip.description = g_strdup_printf("Reference FLAC Player v%s", FLAC__VERSION_STRING);
|
|
return &flac_ip;
|
|
@@ -194,7 +194,7 @@ void set_track_info(const char* title, i
|
|
}
|
|
}
|
|
|
|
-static gchar* homedir()
|
|
+static gchar* homedir(void)
|
|
{
|
|
gchar *result;
|
|
char *env_home = getenv("HOME");
|
|
@@ -212,7 +212,7 @@ static gchar* homedir()
|
|
return result;
|
|
}
|
|
|
|
-void FLAC_XMMS__init()
|
|
+void FLAC_XMMS__init(void)
|
|
{
|
|
ConfigFile *cfg;
|
|
FLAC__uint32 test = 1;
|
|
@@ -368,7 +368,7 @@ void FLAC_XMMS__play_file(char *filename
|
|
pthread_create(&decode_thread_, NULL, play_loop_, NULL);
|
|
}
|
|
|
|
-void FLAC_XMMS__stop()
|
|
+void FLAC_XMMS__stop(void)
|
|
{
|
|
if(file_info_.is_playing) {
|
|
file_info_.is_playing = false;
|
|
@@ -397,7 +397,7 @@ void FLAC_XMMS__seek(int time)
|
|
}
|
|
}
|
|
|
|
-int FLAC_XMMS__get_time()
|
|
+int FLAC_XMMS__get_time(void)
|
|
{
|
|
if(audio_error_)
|
|
return -2;
|
|
@@ -407,7 +407,7 @@ int FLAC_XMMS__get_time()
|
|
return flac_ip.output->output_time();
|
|
}
|
|
|
|
-void FLAC_XMMS__cleanup()
|
|
+void FLAC_XMMS__cleanup(void)
|
|
{
|
|
decoder_func_table_ -> safe_decoder_delete(decoder_);
|
|
decoder_ = 0;
|
|
@@ -668,7 +668,7 @@ static const decoder_funcs_t HTTP_DECODE
|
|
|
|
static decoder_funcs_t const *decoder_func_table_;
|
|
|
|
-static void init_decoder_func_tables()
|
|
+static void init_decoder_func_tables(void)
|
|
{
|
|
DECODER_FUNCS [DECODER_FILE] = & FILE_DECODER_FUNCTIONS;
|
|
DECODER_FUNCS [DECODER_HTTP] = & HTTP_DECODER_FUNCTIONS;
|
|
--- src/plugin_xmms/configure.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/plugin_xmms/configure.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -69,7 +69,7 @@ typedef struct {
|
|
extern flac_config_t flac_cfg;
|
|
|
|
extern void FLAC_XMMS__configure(void);
|
|
-extern void FLAC_XMMS__aboutbox();
|
|
+extern void FLAC_XMMS__aboutbox(void);
|
|
|
|
#endif
|
|
|
|
--- src/plugin_xmms/fileinfo.c-dist 2005-05-25 16:24:26.000000000 +0200
|
|
+++ src/plugin_xmms/fileinfo.c 2005-05-25 16:24:33.000000000 +0200
|
|
@@ -136,7 +136,7 @@ static void get_entry_tag(GtkEntry * ent
|
|
free(utf8);
|
|
}
|
|
|
|
-static void show_tag()
|
|
+static void show_tag(void)
|
|
{
|
|
set_entry_tag(GTK_ENTRY(title_entry) , FLAC_plugin__tags_get_tag_utf8(tags_, "TITLE"));
|
|
set_entry_tag(GTK_ENTRY(artist_entry) , FLAC_plugin__tags_get_tag_utf8(tags_, "ARTIST"));
|
|
@@ -189,7 +189,7 @@ static void remove_tag(GtkWidget * w, gp
|
|
gtk_widget_destroy(window);
|
|
}
|
|
|
|
-static void show_file_info()
|
|
+static void show_file_info(void)
|
|
{
|
|
FLAC__StreamMetadata streaminfo;
|
|
struct stat _stat;
|
|
--- src/share/grabbag/file.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/share/grabbag/file.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -109,7 +109,7 @@ FLAC__bool grabbag__file_remove_file(con
|
|
return grabbag__file_change_stats(filename, /*read_only=*/false) && 0 == unlink(filename);
|
|
}
|
|
|
|
-FILE *grabbag__file_get_binary_stdin()
|
|
+FILE *grabbag__file_get_binary_stdin(void)
|
|
{
|
|
/* if something breaks here it is probably due to the presence or
|
|
* absence of an underscore before the identifiers 'setmode',
|
|
@@ -125,7 +125,7 @@ FILE *grabbag__file_get_binary_stdin()
|
|
return stdin;
|
|
}
|
|
|
|
-FILE *grabbag__file_get_binary_stdout()
|
|
+FILE *grabbag__file_get_binary_stdout(void)
|
|
{
|
|
/* if something breaks here it is probably due to the presence or
|
|
* absence of an underscore before the identifiers 'setmode',
|
|
--- src/share/replaygain_synthesis/replaygain_synthesis.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/share/replaygain_synthesis/replaygain_synthesis.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -86,7 +86,7 @@
|
|
* XORed values of both generators.
|
|
*/
|
|
|
|
-static unsigned int random_int_()
|
|
+static unsigned int random_int_(void)
|
|
{
|
|
static const unsigned char parity_[256] = {
|
|
0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,
|
|
--- src/libFLAC/metadata_iterators.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libFLAC/metadata_iterators.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -339,7 +339,7 @@ FLAC_API const char * const FLAC__Metada
|
|
};
|
|
|
|
|
|
-FLAC_API FLAC__Metadata_SimpleIterator *FLAC__metadata_simple_iterator_new()
|
|
+FLAC_API FLAC__Metadata_SimpleIterator *FLAC__metadata_simple_iterator_new(void)
|
|
{
|
|
FLAC__Metadata_SimpleIterator *iterator = (FLAC__Metadata_SimpleIterator*)calloc(1, sizeof(FLAC__Metadata_SimpleIterator));
|
|
|
|
@@ -846,7 +846,7 @@ FLAC_API const char * const FLAC__Metada
|
|
};
|
|
|
|
|
|
-static FLAC__Metadata_Node *node_new_()
|
|
+static FLAC__Metadata_Node *node_new_(void)
|
|
{
|
|
return (FLAC__Metadata_Node*)calloc(1, sizeof(FLAC__Metadata_Node));
|
|
}
|
|
@@ -1308,7 +1308,7 @@ static FLAC__bool chain_rewrite_file_cb_
|
|
return true;
|
|
}
|
|
|
|
-FLAC_API FLAC__Metadata_Chain *FLAC__metadata_chain_new()
|
|
+FLAC_API FLAC__Metadata_Chain *FLAC__metadata_chain_new(void)
|
|
{
|
|
FLAC__Metadata_Chain *chain = (FLAC__Metadata_Chain*)calloc(1, sizeof(FLAC__Metadata_Chain));
|
|
|
|
@@ -1594,7 +1594,7 @@ FLAC_API void FLAC__metadata_chain_sort_
|
|
}
|
|
|
|
|
|
-FLAC_API FLAC__Metadata_Iterator *FLAC__metadata_iterator_new()
|
|
+FLAC_API FLAC__Metadata_Iterator *FLAC__metadata_iterator_new(void)
|
|
{
|
|
FLAC__Metadata_Iterator *iterator = (FLAC__Metadata_Iterator*)calloc(1, sizeof(FLAC__Metadata_Iterator));
|
|
|
|
--- src/libFLAC/file_encoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libFLAC/file_encoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -98,7 +98,7 @@ FLAC_API const char * const FLAC__FileEn
|
|
*
|
|
***********************************************************************/
|
|
|
|
-FLAC_API FLAC__FileEncoder *FLAC__file_encoder_new()
|
|
+FLAC_API FLAC__FileEncoder *FLAC__file_encoder_new(void)
|
|
{
|
|
FLAC__FileEncoder *encoder;
|
|
|
|
--- src/libFLAC/file_decoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libFLAC/file_decoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -51,7 +51,7 @@
|
|
***********************************************************************/
|
|
|
|
static void set_defaults_(FLAC__FileDecoder *decoder);
|
|
-static FILE *get_binary_stdin_();
|
|
+static FILE *get_binary_stdin_(void);
|
|
static FLAC__SeekableStreamDecoderReadStatus read_callback_(const FLAC__SeekableStreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data);
|
|
static FLAC__SeekableStreamDecoderSeekStatus seek_callback_(const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 absolute_byte_offset, void *client_data);
|
|
static FLAC__SeekableStreamDecoderTellStatus tell_callback_(const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data);
|
|
@@ -101,7 +101,7 @@ FLAC_API const char * const FLAC__FileDe
|
|
*
|
|
***********************************************************************/
|
|
|
|
-FLAC_API FLAC__FileDecoder *FLAC__file_decoder_new()
|
|
+FLAC_API FLAC__FileDecoder *FLAC__file_decoder_new(void)
|
|
{
|
|
FLAC__FileDecoder *decoder;
|
|
|
|
@@ -567,7 +567,7 @@ void set_defaults_(FLAC__FileDecoder *de
|
|
/*
|
|
* This will forcibly set stdin to binary mode (for OSes that require it)
|
|
*/
|
|
-FILE *get_binary_stdin_()
|
|
+FILE *get_binary_stdin_(void)
|
|
{
|
|
/* if something breaks here it is probably due to the presence or
|
|
* absence of an underscore before the identifiers 'setmode',
|
|
--- src/libFLAC/bitbuffer.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libFLAC/bitbuffer.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -317,7 +317,7 @@ static FLAC__bool bitbuffer_read_from_cl
|
|
*
|
|
***********************************************************************/
|
|
|
|
-FLAC__BitBuffer *FLAC__bitbuffer_new()
|
|
+FLAC__BitBuffer *FLAC__bitbuffer_new(void)
|
|
{
|
|
FLAC__BitBuffer *bb = (FLAC__BitBuffer*)calloc(1, sizeof(FLAC__BitBuffer));
|
|
|
|
--- src/libFLAC/metadata_object.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libFLAC/metadata_object.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -1236,7 +1236,7 @@ FLAC_API int FLAC__metadata_object_vorbi
|
|
return ok? (int)matching : -1;
|
|
}
|
|
|
|
-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)
|
|
{
|
|
return (FLAC__StreamMetadata_CueSheet_Track*)calloc(1, sizeof(FLAC__StreamMetadata_CueSheet_Track));
|
|
}
|
|
--- src/libFLAC/stream_encoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libFLAC/stream_encoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -454,7 +454,7 @@ FLAC_API const char * const FLAC__Stream
|
|
* Class constructor/destructor
|
|
*
|
|
*/
|
|
-FLAC_API FLAC__StreamEncoder *FLAC__stream_encoder_new()
|
|
+FLAC_API FLAC__StreamEncoder *FLAC__stream_encoder_new(void)
|
|
{
|
|
FLAC__StreamEncoder *encoder;
|
|
unsigned i;
|
|
--- src/libFLAC/stream_decoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libFLAC/stream_decoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -180,7 +180,7 @@ FLAC_API const char * const FLAC__Stream
|
|
* Class constructor/destructor
|
|
*
|
|
***********************************************************************/
|
|
-FLAC_API FLAC__StreamDecoder *FLAC__stream_decoder_new()
|
|
+FLAC_API FLAC__StreamDecoder *FLAC__stream_decoder_new(void)
|
|
{
|
|
FLAC__StreamDecoder *decoder;
|
|
unsigned i;
|
|
--- src/libFLAC/seekable_stream_encoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libFLAC/seekable_stream_encoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -110,7 +110,7 @@ FLAC_API const char * const FLAC__Seekab
|
|
*
|
|
***********************************************************************/
|
|
|
|
-FLAC_API FLAC__SeekableStreamEncoder *FLAC__seekable_stream_encoder_new()
|
|
+FLAC_API FLAC__SeekableStreamEncoder *FLAC__seekable_stream_encoder_new(void)
|
|
{
|
|
FLAC__SeekableStreamEncoder *encoder;
|
|
|
|
--- src/libFLAC/seekable_stream_decoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libFLAC/seekable_stream_decoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -135,7 +135,7 @@ FLAC_API const char * const FLAC__Seekab
|
|
*
|
|
***********************************************************************/
|
|
|
|
-FLAC_API FLAC__SeekableStreamDecoder *FLAC__seekable_stream_decoder_new()
|
|
+FLAC_API FLAC__SeekableStreamDecoder *FLAC__seekable_stream_decoder_new(void)
|
|
{
|
|
FLAC__SeekableStreamDecoder *decoder;
|
|
|
|
--- src/libFLAC/include/private/bitbuffer.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libFLAC/include/private/bitbuffer.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -56,7 +56,7 @@ typedef struct FLAC__BitBuffer FLAC__Bit
|
|
/*
|
|
* construction, deletion, initialization, cloning functions
|
|
*/
|
|
-FLAC__BitBuffer *FLAC__bitbuffer_new();
|
|
+FLAC__BitBuffer *FLAC__bitbuffer_new(void);
|
|
void FLAC__bitbuffer_delete(FLAC__BitBuffer *bb);
|
|
FLAC__bool FLAC__bitbuffer_init(FLAC__BitBuffer *bb);
|
|
FLAC__bool FLAC__bitbuffer_init_from(FLAC__BitBuffer *bb, const FLAC__byte buffer[], unsigned bytes);
|
|
--- src/plugin_common/charset.h-dist 2005-05-25 16:06:18.000000000 +0200
|
|
+++ src/plugin_common/charset.h 2005-05-25 16:06:24.000000000 +0200
|
|
@@ -30,7 +30,7 @@
|
|
* Prototypes *
|
|
**************/
|
|
|
|
-char *FLAC_plugin__charset_get_current();
|
|
+char *FLAC_plugin__charset_get_current(void);
|
|
char *FLAC_plugin__charset_convert_string(const char *string, char *from, char *to);
|
|
|
|
/* returns 1 for success, 0 for failure or no iconv */
|
|
--- src/libOggFLAC/file_encoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libOggFLAC/file_encoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -100,7 +100,7 @@ OggFLAC_API const char * const OggFLAC__
|
|
*
|
|
***********************************************************************/
|
|
|
|
-OggFLAC_API OggFLAC__FileEncoder *OggFLAC__file_encoder_new()
|
|
+OggFLAC_API OggFLAC__FileEncoder *OggFLAC__file_encoder_new(void)
|
|
{
|
|
OggFLAC__FileEncoder *encoder;
|
|
|
|
--- src/libOggFLAC/file_decoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libOggFLAC/file_decoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -51,7 +51,7 @@
|
|
***********************************************************************/
|
|
|
|
static void set_defaults_(OggFLAC__FileDecoder *decoder);
|
|
-static FILE *get_binary_stdin_();
|
|
+static FILE *get_binary_stdin_(void);
|
|
static OggFLAC__SeekableStreamDecoderReadStatus read_callback_(const OggFLAC__SeekableStreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data);
|
|
static OggFLAC__SeekableStreamDecoderSeekStatus seek_callback_(const OggFLAC__SeekableStreamDecoder *decoder, FLAC__uint64 absolute_byte_offset, void *client_data);
|
|
static OggFLAC__SeekableStreamDecoderTellStatus tell_callback_(const OggFLAC__SeekableStreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data);
|
|
@@ -101,7 +101,7 @@ OggFLAC_API const char * const OggFLAC__
|
|
*
|
|
***********************************************************************/
|
|
|
|
-OggFLAC_API OggFLAC__FileDecoder *OggFLAC__file_decoder_new()
|
|
+OggFLAC_API OggFLAC__FileDecoder *OggFLAC__file_decoder_new(void)
|
|
{
|
|
OggFLAC__FileDecoder *decoder;
|
|
|
|
@@ -558,7 +558,7 @@ void set_defaults_(OggFLAC__FileDecoder
|
|
/*
|
|
* This will forcibly set stdin to binary mode (for OSes that require it)
|
|
*/
|
|
-FILE *get_binary_stdin_()
|
|
+FILE *get_binary_stdin_(void)
|
|
{
|
|
/* if something breaks here it is probably due to the presence or
|
|
* absence of an underscore before the identifiers 'setmode',
|
|
--- src/libOggFLAC/stream_encoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libOggFLAC/stream_encoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -87,7 +87,7 @@ OggFLAC_API const char * const OggFLAC__
|
|
* Class constructor/destructor
|
|
*
|
|
*/
|
|
-OggFLAC_API OggFLAC__StreamEncoder *OggFLAC__stream_encoder_new()
|
|
+OggFLAC_API OggFLAC__StreamEncoder *OggFLAC__stream_encoder_new(void)
|
|
{
|
|
OggFLAC__StreamEncoder *encoder;
|
|
|
|
--- src/libOggFLAC/stream_decoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libOggFLAC/stream_decoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -86,7 +86,7 @@ OggFLAC_API const char * const OggFLAC__
|
|
* Class constructor/destructor
|
|
*
|
|
***********************************************************************/
|
|
-OggFLAC_API OggFLAC__StreamDecoder *OggFLAC__stream_decoder_new()
|
|
+OggFLAC_API OggFLAC__StreamDecoder *OggFLAC__stream_decoder_new(void)
|
|
{
|
|
OggFLAC__StreamDecoder *decoder;
|
|
|
|
--- src/libOggFLAC/seekable_stream_encoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libOggFLAC/seekable_stream_encoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -112,7 +112,7 @@ OggFLAC_API const char * const OggFLAC__
|
|
* Class constructor/destructor
|
|
*
|
|
*/
|
|
-OggFLAC_API OggFLAC__SeekableStreamEncoder *OggFLAC__seekable_stream_encoder_new()
|
|
+OggFLAC_API OggFLAC__SeekableStreamEncoder *OggFLAC__seekable_stream_encoder_new(void)
|
|
{
|
|
OggFLAC__SeekableStreamEncoder *encoder;
|
|
|
|
--- src/libOggFLAC/seekable_stream_decoder.c-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ src/libOggFLAC/seekable_stream_decoder.c 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -129,7 +129,7 @@ OggFLAC_API const char * const OggFLAC__
|
|
*
|
|
***********************************************************************/
|
|
|
|
-OggFLAC_API OggFLAC__SeekableStreamDecoder *OggFLAC__seekable_stream_decoder_new()
|
|
+OggFLAC_API OggFLAC__SeekableStreamDecoder *OggFLAC__seekable_stream_decoder_new(void)
|
|
{
|
|
OggFLAC__SeekableStreamDecoder *decoder;
|
|
|
|
--- include/OggFLAC/file_encoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/OggFLAC/file_encoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -162,7 +162,7 @@ typedef void (*OggFLAC__FileEncoderProgr
|
|
* \retval OggFLAC__FileEncoder*
|
|
* \c NULL if there was an error allocating memory, else the new instance.
|
|
*/
|
|
-OggFLAC_API OggFLAC__FileEncoder *OggFLAC__file_encoder_new();
|
|
+OggFLAC_API OggFLAC__FileEncoder *OggFLAC__file_encoder_new(void);
|
|
|
|
/** Free an encoder instance. Deletes the object pointed to by \a encoder.
|
|
*
|
|
--- include/OggFLAC/file_decoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/OggFLAC/file_decoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -183,7 +183,7 @@ typedef void (*OggFLAC__FileDecoderError
|
|
* \retval OggFLAC__FileDecoder*
|
|
* \c NULL if there was an error allocating memory, else the new instance.
|
|
*/
|
|
-OggFLAC_API OggFLAC__FileDecoder *OggFLAC__file_decoder_new();
|
|
+OggFLAC_API OggFLAC__FileDecoder *OggFLAC__file_decoder_new(void);
|
|
|
|
/** Free a decoder instance. Deletes the object pointed to by \a decoder.
|
|
*
|
|
--- include/OggFLAC/stream_encoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/OggFLAC/stream_encoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -183,7 +183,7 @@ typedef void (*OggFLAC__StreamEncoderMet
|
|
* \retval OggFLAC__StreamEncoder*
|
|
* \c NULL if there was an error allocating memory, else the new instance.
|
|
*/
|
|
-OggFLAC_API OggFLAC__StreamEncoder *OggFLAC__stream_encoder_new();
|
|
+OggFLAC_API OggFLAC__StreamEncoder *OggFLAC__stream_encoder_new(void);
|
|
|
|
/** Free an encoder instance. Deletes the object pointed to by \a encoder.
|
|
*
|
|
--- include/OggFLAC/stream_decoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/OggFLAC/stream_decoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -220,7 +220,7 @@ typedef void (*OggFLAC__StreamDecoderErr
|
|
* \retval OggFLAC__StreamDecoder*
|
|
* \c NULL if there was an error allocating memory, else the new instance.
|
|
*/
|
|
-OggFLAC_API OggFLAC__StreamDecoder *OggFLAC__stream_decoder_new();
|
|
+OggFLAC_API OggFLAC__StreamDecoder *OggFLAC__stream_decoder_new(void);
|
|
|
|
/** Free a decoder instance. Deletes the object pointed to by \a decoder.
|
|
*
|
|
--- include/OggFLAC/seekable_stream_encoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/OggFLAC/seekable_stream_encoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -251,7 +251,7 @@ typedef FLAC__StreamEncoderWriteStatus (
|
|
* \retval OggFLAC__SeekableStreamEncoder*
|
|
* \c NULL if there was an error allocating memory, else the new instance.
|
|
*/
|
|
-OggFLAC_API OggFLAC__SeekableStreamEncoder *OggFLAC__seekable_stream_encoder_new();
|
|
+OggFLAC_API OggFLAC__SeekableStreamEncoder *OggFLAC__seekable_stream_encoder_new(void);
|
|
|
|
/** Free an encoder instance. Deletes the object pointed to by \a encoder.
|
|
*
|
|
--- include/OggFLAC/seekable_stream_decoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/OggFLAC/seekable_stream_decoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -334,7 +334,7 @@ typedef void (*OggFLAC__SeekableStreamDe
|
|
* \retval OggFLAC__SeekableStreamDecoder*
|
|
* \c NULL if there was an error allocating memory, else the new instance.
|
|
*/
|
|
-OggFLAC_API OggFLAC__SeekableStreamDecoder *OggFLAC__seekable_stream_decoder_new();
|
|
+OggFLAC_API OggFLAC__SeekableStreamDecoder *OggFLAC__seekable_stream_decoder_new(void);
|
|
|
|
/** Free a decoder instance. Deletes the object pointed to by \a decoder.
|
|
*
|
|
--- include/FLAC/metadata.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/FLAC/metadata.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -295,7 +295,7 @@ extern FLAC_API const char * const FLAC_
|
|
* \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.
|
|
*
|
|
@@ -652,7 +652,7 @@ extern FLAC_API const char * const FLAC_
|
|
* \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.
|
|
*
|
|
@@ -899,7 +899,7 @@ FLAC_API void FLAC__metadata_chain_sort_
|
|
* \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.
|
|
*
|
|
@@ -1621,7 +1621,7 @@ FLAC_API int FLAC__metadata_object_vorbi
|
|
* \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.
|
|
*
|
|
--- include/FLAC/file_encoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/FLAC/file_encoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -190,7 +190,7 @@ typedef void (*FLAC__FileEncoderProgress
|
|
* \retval FLAC__FileEncoder*
|
|
* \c NULL if there was an error allocating memory, else the new instance.
|
|
*/
|
|
-FLAC_API FLAC__FileEncoder *FLAC__file_encoder_new();
|
|
+FLAC_API FLAC__FileEncoder *FLAC__file_encoder_new(void);
|
|
|
|
/** Free an encoder instance. Deletes the object pointed to by \a encoder.
|
|
*
|
|
--- include/FLAC/file_decoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/FLAC/file_decoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -229,7 +229,7 @@ typedef void (*FLAC__FileDecoderErrorCal
|
|
* \retval FLAC__FileDecoder*
|
|
* \c NULL if there was an error allocating memory, else the new instance.
|
|
*/
|
|
-FLAC_API FLAC__FileDecoder *FLAC__file_decoder_new();
|
|
+FLAC_API FLAC__FileDecoder *FLAC__file_decoder_new(void);
|
|
|
|
/** Free a decoder instance. Deletes the object pointed to by \a decoder.
|
|
*
|
|
--- include/FLAC/stream_encoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/FLAC/stream_encoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -366,7 +366,7 @@ typedef void (*FLAC__StreamEncoderMetada
|
|
* \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.
|
|
*
|
|
--- include/FLAC/stream_decoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/FLAC/stream_decoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -396,7 +396,7 @@ typedef void (*FLAC__StreamDecoderErrorC
|
|
* \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.
|
|
*
|
|
--- include/FLAC/seekable_stream_encoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/FLAC/seekable_stream_encoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -292,7 +292,7 @@ typedef FLAC__StreamEncoderWriteStatus (
|
|
* \retval FLAC__SeekableStreamEncoder*
|
|
* \c NULL if there was an error allocating memory, else the new instance.
|
|
*/
|
|
-FLAC_API FLAC__SeekableStreamEncoder *FLAC__seekable_stream_encoder_new();
|
|
+FLAC_API FLAC__SeekableStreamEncoder *FLAC__seekable_stream_encoder_new(void);
|
|
|
|
/** Free an encoder instance. Deletes the object pointed to by \a encoder.
|
|
*
|
|
--- include/FLAC/seekable_stream_decoder.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/FLAC/seekable_stream_decoder.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -392,7 +392,7 @@ typedef void (*FLAC__SeekableStreamDecod
|
|
* \retval FLAC__SeekableStreamDecoder*
|
|
* \c NULL if there was an error allocating memory, else the new instance.
|
|
*/
|
|
-FLAC_API FLAC__SeekableStreamDecoder *FLAC__seekable_stream_decoder_new();
|
|
+FLAC_API FLAC__SeekableStreamDecoder *FLAC__seekable_stream_decoder_new(void);
|
|
|
|
/** Free a decoder instance. Deletes the object pointed to by \a decoder.
|
|
*
|
|
--- include/share/grabbag/file.h-dist 2005-05-25 16:07:23.000000000 +0200
|
|
+++ include/share/grabbag/file.h 2005-05-25 16:07:27.000000000 +0200
|
|
@@ -44,8 +44,8 @@ FLAC__bool grabbag__file_change_stats(co
|
|
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
|
|
}
|