]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/fb-file.c
Daemon: Let daemon actions be numbered from 1
[libucw.git] / ucw / fb-file.c
index 6151e59c14c73ff258c3669dea482408fe4ab31f..5394730b93fe3d4cadd559dee251b183baeea03c 100644 (file)
@@ -8,9 +8,9 @@
  *     of the GNU Lesser General Public License.
  */
 
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/io.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/io.h>
 
 #include <stdio.h>
 #include <string.h>
@@ -25,7 +25,7 @@ struct fb_file {
   ucw_off_t wpos;                      /* Real file position */
   uns wlen;                            /* Window size */
 };
-#define FB_FILE(f) ((struct fb_file *)(f)->is_fastbuf)
+#define FB_FILE(f) ((struct fb_file *)(f))
 #define FB_BUFFER(f) (byte *)(FB_FILE(f) + 1)
 
 static int