]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/fb-atomic.c
Time: Timing functions separated out to <ucw/time.h>
[libucw.git] / ucw / fb-atomic.c
index 227e324cb929bb0dbc21d47bf2b77fd7533dbba1..3057f5019cf99c93c0c944b71478263ecebc24d1 100644 (file)
@@ -7,11 +7,11 @@
  *     of the GNU Lesser General Public License.
  */
 
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/lfs.h"
-#include "ucw/conf.h"
-#include "ucw/trans.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/io.h>
+#include <ucw/conf.h>
+#include <ucw/trans.h>
 
 #include <string.h>
 #include <fcntl.h>
@@ -34,6 +34,7 @@ static void CONSTRUCTOR fbatomic_init_config(void)
 
 #endif
 
+#define FB_ATOMIC(f) ((struct fb_atomic *)(f))
 #define TRACE(m...) do { if(trace) msg(L_DEBUG, "FB_ATOMIC: " m); } while(0)
 
 struct fb_atomic_file {