Bug 11640 - [patch] fix "implicit declaration" compiler warnings
Summary: [patch] fix "implicit declaration" compiler warnings
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/glint (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2007-07-17 16:53 UTC by Julien Cristau
Modified: 2008-02-05 04:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
proposed patch (886 bytes, patch)
2007-07-17 16:54 UTC, Julien Cristau
no flags Details | Splinter Review

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.