]> git.pond.sub.org Git - empserver/blobdiff - include/file.h
Change struct empfile callback onresize() to return void
[empserver] / include / file.h
index c5887efcc39392272a223adf4ee50a7d7d32c9ac..47964a7111ef91ea621f612a99af2ceb26cceca8 100644 (file)
@@ -79,9 +79,8 @@ struct empfile {
     void (*prewrite)(int id, void *old, void *elt);
     /*
      * Called after table size changed, with file type as argument.
-     * Return -1 and set errno to make the operation fail.
      */
-    int (*onresize)(int type);
+    void (*onresize)(int type);
 };
 
 struct emptypedstr {