Bug 11640

Summary: [patch] fix "implicit declaration" compiler warnings
Product: xorg Reporter: Julien Cristau <jcristau>
Component: Driver/glintAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
proposed patch none

Description Julien Cristau 2007-07-17 16:53:15 UTC
Some files in the glint drivers are missing #includes, see the attached patch.
Comment 1 Julien Cristau 2007-07-17 16:54:06 UTC
Created attachment 10775 [details] [review]
proposed patch
Comment 2 Julien Cristau 2007-07-17 16:58:57 UTC
(In reply to comment #0)
> Some files in the glint drivers are missing #includes, see the attached patch.
> 
Specifically, the patch fixes these warnings:
../../src/glint_driver.c: In function 'GLINTScreenInit':
../../src/glint_driver.c:2968: warning: implicit declaration of function 'cfb8_32ScreenInit'
../../src/glint_driver.c:3147: warning: implicit declaration of function 'xf86Overlay8Plus32Init'

../../src/pm2_video.c: In function 'StopVideoStream':
../../src/pm2_video.c:1339: warning: implicit declaration of function 'usleep'
../../src/pm2_video.c: In function 'xvipcHandshake':
../../src/pm2_video.c:2413: warning: implicit declaration of function 'ioctl'
../../src/pm2_video.c: In function 'xvipcOpen':
../../src/pm2_video.c:2622: warning: implicit declaration of function 'close'
Comment 3 Julien Cristau 2008-02-05 04:51:28 UTC
Pushed as f87b7c663c8ae2c4abf270f8f941a4c068da7e8b.

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.