Guillem Jover wrote:
> Hi,
> 
> This patch is similar in spirit as the v4l one. Includes the fb.h
> header into the sources so the definitions can be used freely.
> Also this would make the 'accelerators.h' file obsolete.


> +struct fb_cursor {
> +     __u16 set;              /* what to set */
> +     __u16 enable;           /* cursor on/off */
> +     __u16 rop;              /* bitop operation */
> +     const char *mask;       /* cursor mask bits */
> +     struct fbcurpos hot;    /* cursor hot spot */
> +     struct fb_image image;  /* Cursor image */
> +};
> +
> +#ifdef __KERNEL__

<snip>

> +                     struct fb_info *info, const char *mode_option,
> +                     const struct fb_videomode *db,
> +                     unsigned int dbsize,
> +                     const struct fb_videomode *default_mode,
> +                     unsigned int default_bpp);
> +
> +#endif /* __KERNEL__ */

Since directfb will have its own copy of fb.h, then everything
enclosed by #ifdef __KERNEL__/#endif is not needed.

Tony

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to