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 | * Process options | 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 | phaser_t phaser = (phaser_t) effp->priv; | 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 | * Prepare for processing. | 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 | phaser_t phaser = (phaser_t) effp->priv; | 119 | phaser_t phaser = (phaser_t) effp->priv; |
| 120 | unsigned int i; | 120 | unsigned int i; |
| @@ -192,7 +192,7 @@ int st_phaser_start(eff_t effp) · 71 unmodified lines | |||
| 192 | * Processed signed long samples from ibuf to obuf. | 192 | * Processed signed long samples from ibuf to obuf. |
| 193 | * Return number of samples processed. | 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 | st_size_t *isamp, st_size_t *osamp) | 196 | st_size_t *isamp, st_size_t *osamp) |
| 197 | { | 197 | { |
| 198 | phaser_t phaser = (phaser_t) effp->priv; | 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 | * Drain out reverb lines. | 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 | phaser_t phaser = (phaser_t) effp->priv; | 232 | phaser_t phaser = (phaser_t) effp->priv; |
| 233 | st_size_t done; | 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 | * Clean up phaser effect. | 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 | phaser_t phaser = (phaser_t) effp->priv; | 271 | phaser_t phaser = (phaser_t) effp->priv; |
| 272 | 272 | ||