src/audio/sdlgenaudiocvt.pl
changeset 1985 8055185ae4ed
parent 1982 3b4ce57c6215
child 2011 b2b7154ce016
     1.1 --- a/src/audio/sdlgenaudiocvt.pl	Thu Aug 24 12:49:59 2006 +0000
     1.2 +++ b/src/audio/sdlgenaudiocvt.pl	Mon Aug 28 03:17:39 2006 +0000
     1.3 @@ -23,9 +23,7 @@
     1.4  
     1.5  sub outputHeader {
     1.6      print <<EOF;
     1.7 -/* DO NOT EDIT THIS FILE! It is generated code. */
     1.8 -/* Please modify SDL/src/audio/sdlgenaudiocvt.pl instead. */
     1.9 -
    1.10 +/* DO NOT EDIT!  This file is generated by sdlgenaudiocvt.pl */
    1.11  /*
    1.12      SDL - Simple DirectMedia Layer
    1.13      Copyright (C) 1997-2006 Sam Lantinga
    1.14 @@ -52,7 +50,7 @@
    1.15  #include "SDL_audio.h"
    1.16  #include "SDL_audio_c.h"
    1.17  
    1.18 -/* Now the generated code... */
    1.19 +/* *INDENT-OFF* */
    1.20  
    1.21  EOF
    1.22  
    1.23 @@ -66,6 +64,13 @@
    1.24      print("\n");
    1.25  }
    1.26  
    1.27 +sub outputFooter {
    1.28 +    print <<EOF;
    1.29 +/* *INDENT-ON* */
    1.30 +
    1.31 +/* vi: set ts=4 sw=4 expandtab: */
    1.32 +EOF
    1.33 +}
    1.34  
    1.35  sub splittype {
    1.36      my $t = shift;
    1.37 @@ -307,7 +312,9 @@
    1.38  
    1.39  EOF
    1.40  
    1.41 +outputFooter();
    1.42 +
    1.43  exit 0;
    1.44  
    1.45 -# end of sdlaudiocvt.pl ...
    1.46 +# end of sdlgenaudiocvt.pl ...
    1.47