Bug 14865

Summary: xorg/driver/xf86-video-v4l - Compile warning fixes
Product: xorg Reporter: Paulo César Pereira de Andrade <pcpa>
Component: Driver/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: janitor
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
0001-Compile-warning-fixes.patch none

Description Paulo César Pereira de Andrade 2008-03-06 13:40:01 UTC
Created attachment 14891 [details] [review]
0001-Compile-warning-fixes.patch

Include unistd.h for "close" prototype.
Include sys/ioctl.h instead of asm/ioctl.h to also get "ioctl" prototype.

Only remaining warning is about REGION_INIT macro, as it commonly receives
the address of a variable in stack, thus generating a warning about address
of "<name>" will always evaluate as 'true'.
Comment 1 Paulo César Pereira de Andrade 2008-07-21 14:50:54 UTC
  Not a bug because patch would just allow compiling
without warnings, but no functionality change if
applying or not the patch.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.