[Bug 48599] New: Fix compiler warnings in tests/radeon/radeon_ttm.c

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 12 04:45:49 PDT 2012


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 at lists.freedesktop.org
        ReportedBy: vuntz at 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 at medozas.de>

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list