Change struct empfile callback onresize() to return void

ef_open() handles onresize() failing incorrectly.  Instead of fixing
that, drop the failure mode.  It's not really used: unit_onresize()
fails only when used incorrectly.  It isn't.  If it ever is, ignoring
the failure is safe.
This commit is contained in:
Markus Armbruster 2011-04-28 20:38:39 +02:00
parent 45c7337e70
commit a485084777
5 changed files with 15 additions and 17 deletions

View file

@ -44,7 +44,7 @@ struct fileinit {
void (*oninit)(void *);
void (*postread)(int, void *);
void (*prewrite)(int, void *, void *);
int (*onresize)(int);
void (*onresize)(int);
};
static struct fileinit fileinit[] = {