1. 26 Aug, 2008 1 commit
    • Max Kellermann's avatar
      enable -Wpointer-arith, -Wstrict-prototypes · a383f451
      Max Kellermann authored
      Also enable -Wunused-parameter - this forces us to add the gcc
      "unused" attribute to a lot of parameters (mostly library callback
      functions), but it's worth it during code refactorizations.
      a383f451
  2. 12 Apr, 2008 1 commit
  3. 26 Mar, 2008 2 commits
  4. 26 Jan, 2008 1 commit
  5. 03 Jan, 2008 1 commit
    • Eric Wong's avatar
      Cleanup #includes of standard system headers and put them in one place · cb8f1af3
      Eric Wong authored
      This will make refactoring features easier, especially now that
      pthreads support and larger refactorings are on the horizon.
      
      Hopefully, this will make porting to other platforms (even
      non-UNIX-like ones for masochists) easier, too.
      
      os_compat.h will house all the #includes for system headers
      considered to be the "core" of MPD.  Headers for optional
      features will be left to individual source files.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      cb8f1af3
  6. 27 Aug, 2007 1 commit
  7. 26 May, 2007 1 commit
  8. 05 Apr, 2007 1 commit
  9. 18 Oct, 2006 1 commit
  10. 26 Aug, 2006 2 commits
  11. 20 Aug, 2006 1 commit
  12. 01 Aug, 2006 1 commit
  13. 20 Jul, 2006 2 commits
  14. 17 Jul, 2006 1 commit
    • Eric Wong's avatar
      sparse: ANSI-fy function declarations · a234780a
      Eric Wong authored
      These are just warnings from sparse, but it makes the output
      easier to read.  I ran this through a quick perl script, but
      of course verified the output by looking at the diff and making
      sure the thing still compiles.
      
      here's the quick perl script I wrote to generate this patch:
      ----------- 8< -----------
      use Tie::File;
      defined(my $pid = open my $fh, '-|') or die $!;
      if (!$pid) {
      open STDERR, '>&STDOUT' or die $!;
      exec 'sparse', @ARGV or die $!;
      }
      my $na = 'warning: non-ANSI function declaration of function';
      while (<$fh>) {
      print STDERR $_;
      if (/^(.+?\.[ch]):(\d+):(\d+): $na '(\w+)'/o) {
      my ($f, $l, $pos, $func) = ($1, $2, $3, $4);
      $l--;
      tie my @x, 'Tie::File', $f or die "$!: $f";
      print '-', $x[$l], "\n";
      $x[$l] =~ s/\b($func\s*)\(\s*\)/$1(void)/;
      print '+', $x[$l], "\n";
      untie @x;
      }
      }
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4378 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      a234780a
  15. 16 Jul, 2006 1 commit
  16. 14 Jul, 2006 2 commits
  17. 13 Jul, 2006 1 commit
  18. 12 Jul, 2006 1 commit
  19. 25 Mar, 2006 1 commit
  20. 19 Nov, 2005 1 commit
    • Eric Wong's avatar
      gcc 2.95 fixes · e8a54efe
      Eric Wong authored
      audioOutput_osx.c, aac_decode.c, mp4_decode.c have NOT been thoroughly
      checked, but I nevertheless managed to eyeball and fix one
      incompatibility in audioOutput_osx.c
      
      All other files have been build successfully with gcc 2.95
      
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@3688 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      e8a54efe
  21. 07 Aug, 2005 1 commit
  22. 03 Jul, 2005 1 commit
  23. 06 Apr, 2005 1 commit
  24. 19 Mar, 2005 1 commit
  25. 12 Mar, 2005 1 commit
  26. 10 Mar, 2005 1 commit
  27. 05 Mar, 2005 4 commits
  28. 20 Nov, 2004 1 commit
  29. 02 Nov, 2004 3 commits
  30. 30 Oct, 2004 1 commit
  31. 29 Oct, 2004 1 commit