Fix compiler warnings in tests/radeon/radeon_ttm.c
@vuntz
Submitted by Vincent Untz Assigned to Default DRI bug account
Description
Created attachment 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
Patch 59852, "Fix compiler warnings in tests/radeon/radeon_ttm.c":
libdrm-implicit-defs.diff
Version: XOrg git
Edited by Eric Engestrom