History

Fix read and write return types: now st_size_t, like the size inputs.

To support this change, turn on lots more compiler warnings, and fix all the warnings generated.

rrt committed 19 years ago

Commit 4d743c41 parent ce1f8f393 files · +875 −1236Browse files

Showing the changes to src/highpass.c (1 of 93 files). Show all

Unified · Split

src/highpass.c+2−5
@@ -1,5 +1,4 @@
11 /*
2−
32 High-pass effect file for SoX
43 Copyright (C) 1999 Jan Paul Schmidt <jps@fundament.org>
54
@@ -38,7 +37,7 @@ · 32 unmodified lines
3837
3938 static st_effect_t st_highpass_effect;
4039
41−int st_highpass_getopts(eff_t effp, int n, char **argv)
40+static int st_highpass_getopts(eff_t effp, int n, char **argv)
4241 {
4342 butterworth_t butterworth = (butterworth_t)effp->priv;
4443
@@ -56,9 +55,7 @@ int st_highpass_getopts(eff_t effp, int n, char **argv) · 11 unmodified lines
5655 return (ST_SUCCESS);
5756 }
5857
59−
60−
61−int st_highpass_start(eff_t effp)
58+static int st_highpass_start(eff_t effp)
6259 {
6360 butterworth_t butterworth = (butterworth_t) effp->priv;
6461 double c;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t