squash annoying warnings.
authorSegher Boessenkool <segher@xiph.org>
Tue, 18 Dec 2001 01:07:54 +0000 (01:07 +0000)
committerSegher Boessenkool <segher@xiph.org>
Tue, 18 Dec 2001 01:07:54 +0000 (01:07 +0000)
svn path=/trunk/vorbis/; revision=2633

examples/decoder_example.c
examples/seeking_example.c
examples/vorbisfile_example.c

index b027955..74f0bb3 100644 (file)
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: simple example decoder
- last mod: $Id: decoder_example.c,v 1.22 2001/09/17 01:06:18 cwolf Exp $
+ last mod: $Id: decoder_example.c,v 1.23 2001/12/18 01:07:53 segher Exp $
 
  ********************************************************************/
 
@@ -38,7 +38,7 @@
 ogg_int16_t convbuffer[4096]; /* take 8k out of the data segment, not the stack */
 int convsize=4096;
 
-int main(int argc, char **argv){
+int main(){
   ogg_sync_state   oy; /* sync and verify incoming physical bitstream */
   ogg_stream_state os; /* take physical pages, weld into a logical
                          stream of packets */
index 15ed168..7994d44 100644 (file)
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: illustrate seeking, and test it too
- last mod: $Id: seeking_example.c,v 1.10 2001/09/17 01:06:18 cwolf Exp $
+ last mod: $Id: seeking_example.c,v 1.11 2001/12/18 01:07:54 segher Exp $
 
  ********************************************************************/
 
@@ -59,7 +59,7 @@ void _verify(OggVorbis_File *ov,ogg_int64_t pos,
   }
 }
 
-int main(int argc, char *argv[]){
+int main(){
   OggVorbis_File ov;
   int i,ret;
   ogg_int64_t pcmlength;
index 3569767..6782b93 100644 (file)
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: simple example decoder using vorbisfile
- last mod: $Id: vorbisfile_example.c,v 1.7 2001/09/17 01:06:18 cwolf Exp $
+ last mod: $Id: vorbisfile_example.c,v 1.8 2001/12/18 01:07:54 segher Exp $
 
  ********************************************************************/
 
@@ -32,7 +32,7 @@
 
 char pcmout[4096]; /* take 4k out of the data segment, not the stack */
 
-int main(int argc, char **argv){
+int main(){
   OggVorbis_File vf;
   int eof=0;
   int current_section;