https://bugs.freedesktop.org/show_bug.cgi?id=48599
Bug #: 48599 Summary: Fix compiler warnings in tests/radeon/radeon_ttm.c Classification: Unclassified Product: DRI Version: XOrg CVS Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: libdrm AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: vuntz@gnome.org
Created attachment 59852 --> https://bugs.freedesktop.org/attachment.cgi?id=59852 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