To support this change, turn on lots more compiler warnings, and fix all the warnings generated.
Showing the changes to src/phaser.c (1 of 93 files). Show all
Unified · Split
| @@ -81,7 +81,7 @@ typedef struct phaserstuff { · 80 unmodified lines | ||
| 81 | 81 | /* |
| 82 | 82 | * Process options |
| 83 | 83 | */ |
| 84 | −int st_phaser_getopts(eff_t effp, int n, char **argv) | |
| 84 | +static int st_phaser_getopts(eff_t effp, int n, char **argv) | |
| 85 | 85 | { |
| 86 | 86 | phaser_t phaser = (phaser_t) effp->priv; |
| 87 | 87 | |
| @@ -114,7 +114,7 @@ int st_phaser_getopts(eff_t effp, int n, char **argv) · 26 unmodified lines | ||
| 114 | 114 | /* |
| 115 | 115 | * Prepare for processing. |
| 116 | 116 | */ |
| 117 | −int st_phaser_start(eff_t effp) | |
| 117 | +static int st_phaser_start(eff_t effp) | |
| 118 | 118 | { |
| 119 | 119 | phaser_t phaser = (phaser_t) effp->priv; |
| 120 | 120 | unsigned int i; |
| @@ -192,7 +192,7 @@ int st_phaser_start(eff_t effp) · 71 unmodified lines | ||
| 192 | 192 | * Processed signed long samples from ibuf to obuf. |
| 193 | 193 | * Return number of samples processed. |
| 194 | 194 | */ |
| 195 | −int st_phaser_flow(eff_t effp, const st_sample_t *ibuf, st_sample_t *obuf, | |
| 195 | +static int st_phaser_flow(eff_t effp, const st_sample_t *ibuf, st_sample_t *obuf, | |
| 196 | 196 | st_size_t *isamp, st_size_t *osamp) |
| 197 | 197 | { |
| 198 | 198 | phaser_t phaser = (phaser_t) effp->priv; |
| @@ -227,7 +227,7 @@ int st_phaser_flow(eff_t effp, const st_sample_t *ibuf, st_sample_t *obuf, · 28 unmodified lines | ||
| 227 | 227 | /* |
| 228 | 228 | * Drain out reverb lines. |
| 229 | 229 | */ |
| 230 | −int st_phaser_drain(eff_t effp, st_sample_t *obuf, st_size_t *osamp) | |
| 230 | +static int st_phaser_drain(eff_t effp, st_sample_t *obuf, st_size_t *osamp) | |
| 231 | 231 | { |
| 232 | 232 | phaser_t phaser = (phaser_t) effp->priv; |
| 233 | 233 | st_size_t done; |
| @@ -266,7 +266,7 @@ int st_phaser_drain(eff_t effp, st_sample_t *obuf, st_size_t *osamp) · 32 unmodified lines | ||
| 266 | 266 | /* |
| 267 | 267 | * Clean up phaser effect. |
| 268 | 268 | */ |
| 269 | −int st_phaser_stop(eff_t effp) | |
| 269 | +static int st_phaser_stop(eff_t effp) | |
| 270 | 270 | { |
| 271 | 271 | phaser_t phaser = (phaser_t) effp->priv; |
| 272 | 272 | |