Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sparse: ANSI-fy function declarations | Eric Wong | 2006-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | [CLEANUP] Remove unused code | Avuton Olrich | 2006-07-15 | 1 | -3/+0 |
| | | | | | Cleanup whitespace->tabs git-svn-id: https://svn.musicpd.org/mpd/trunk@4347 09075e82-0dd4-0310-85a5-a0d7c8717e4f | ||||
* | Change shank's email address | J. Alexander Treuman | 2006-07-14 | 1 | -1/+1 |
| | | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4333 09075e82-0dd4-0310-85a5-a0d7c8717e4f | ||||
* | Huge header update, update the copyright and add | Avuton Olrich | 2006-07-13 | 1 | -1/+1 |
| | | | | | the GPL header where necessary git-svn-id: https://svn.musicpd.org/mpd/trunk@4317 09075e82-0dd4-0310-85a5-a0d7c8717e4f | ||||
* | merge changes from metadata-rewrite branch | Warren Dukes | 2004-11-10 | 1 | -3/+4 |
| | | | git-svn-id: https://svn.musicpd.org/mpd/trunk@2589 09075e82-0dd4-0310-85a5-a0d7c8717e4f | ||||
* | clean up some command.h include stuff | Warren Dukes | 2004-06-04 | 1 | -2/+0 |
| | | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1322 09075e82-0dd4-0310-85a5-a0d7c8717e4f | ||||
* | add vim shiznit to end of all source files | Warren Dukes | 2004-04-14 | 1 | -0/+1 |
| | | | git-svn-id: https://svn.musicpd.org/mpd/trunk@750 09075e82-0dd4-0310-85a5-a0d7c8717e4f | ||||
* | display db_playtime in stats | Warren Dukes | 2004-02-27 | 1 | -0/+1 |
| | | | git-svn-id: https://svn.musicpd.org/mpd/trunk@98 09075e82-0dd4-0310-85a5-a0d7c8717e4f | ||||
* | import from SF CVS | Warren Dukes | 2004-02-23 | 1 | -0/+47 |
git-svn-id: https://svn.musicpd.org/mpd/trunk@1 09075e82-0dd4-0310-85a5-a0d7c8717e4f |