Bug 48599

Summary: Fix compiler warnings in tests/radeon/radeon_ttm.c
Product: DRI Reporter: Vincent Untz <vuntz>
Component: libdrmAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Fix compiler warnings in tests/radeon/radeon_ttm.c none

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.