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/auto.c (1 of 93 files). Show all

Unified · Split

src/auto.c+2−2
@@ -23,7 +23,7 @@ · 22 unmodified lines
23#define LASTCHAR '/'23#define LASTCHAR '/'
24#endif24#endif
25 25
26int st_autostartread(ft_t ft)26static int st_autostartread(ft_t ft)
27{27{
28 char *type = NULL;28 char *type = NULL;
29 char header[20];29 char header[20];
@@ -179,7 +179,7 @@ int st_autostartread(ft_t ft) · 149 unmodified lines
179 return ((* ft->h->startread)(ft));179 return ((* ft->h->startread)(ft));
180}180}
181 181
182int st_autostartwrite(ft_t ft) 182static int st_autostartwrite(ft_t ft)
183{183{
184 st_fail_errno(ft,ST_EFMT,"Type AUTO can only be used for input!");184 st_fail_errno(ft,ST_EFMT,"Type AUTO can only be used for input!");
185 return(ST_EOF);185 return(ST_EOF);

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