Bug 48599 - Fix compiler warnings in tests/radeon/radeon_ttm.c
Summary: Fix compiler warnings in tests/radeon/radeon_ttm.c
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: libdrm (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-12 04:45 UTC by Vincent Untz
Modified: 2019-09-24 17:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix compiler warnings in tests/radeon/radeon_ttm.c (975 bytes, patch)
2012-04-12 04:45 UTC, Vincent Untz
no flags Details | Splinter Review

Description Vincent Untz 2012-04-12 04:45:49 UTC
Created attachment 59852 [details] [review]
Fix compiler warnings in tests/radeon/radeon_ttm.c

The patch from openSUSE solves compiler warnings about use of implicit declared-functions.

radeon_ttm.c: In function 'radeon_open_fd':
radeon_ttm.c:58:5: warning: implicit declaration of function 'drmOpen' [-Wimplicit-function-declaration]
radeon_ttm.c: In function 'main':
radeon_ttm.c:73:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
radeon_ttm.c: At top level:

It was written by Jan Engelhardt <jengelh@medozas.de>
Comment 1 Michel Dänzer 2012-04-18 04:17:28 UTC
(In reply to comment #1)
> It was written by Jan Engelhardt <jengelh@medozas.de>

Would it be possible to get a Signed-off-by: from him?

BTW, it might have been easier to just submit the patch to the dri-devel list.
Comment 2 GitLab Migration User 2019-09-24 17:08:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/drm/issues/7.


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.