Change empfile members postread() and prewrite() to return void
Callers ignore the value, and callees always return 1. Pointless.
This commit is contained in:
parent
e438f6b4cd
commit
bf436a4498
8 changed files with 35 additions and 38 deletions
|
@ -41,8 +41,8 @@
|
|||
|
||||
struct fileinit {
|
||||
int ef_type;
|
||||
int (*postread) (int, void *);
|
||||
int (*prewrite) (int, void *);
|
||||
void (*postread) (int, void *);
|
||||
void (*prewrite) (int, void *);
|
||||
};
|
||||
|
||||
static struct fileinit fileinit[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue