To support this change, turn on lots more compiler warnings, and fix all the warnings generated.
Showing the changes to src/auto.c (1 of 93 files). Show all
Unified · Split
| @@ -23,7 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #define LASTCHAR '/' |
| 24 | 24 | #endif |
| 25 | 25 | |
| 26 | −int st_autostartread(ft_t ft) | |
| 26 | +static int st_autostartread(ft_t ft) | |
| 27 | 27 | { |
| 28 | 28 | char *type = NULL; |
| 29 | 29 | char header[20]; |
| @@ -179,7 +179,7 @@ int st_autostartread(ft_t ft) · 149 unmodified lines | ||
| 179 | 179 | return ((* ft->h->startread)(ft)); |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | −int st_autostartwrite(ft_t ft) | |
| 182 | +static int st_autostartwrite(ft_t ft) | |
| 183 | 183 | { |
| 184 | 184 | st_fail_errno(ft,ST_EFMT,"Type AUTO can only be used for input!"); |
| 185 | 185 | return(ST_EOF); |