From b9638429122dc3a6064784962bfac70fecf1659d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 12 Mar 2014 02:32:02 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift_drm_c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blueshift_drm_c.c b/src/blueshift_drm_c.c index 629030c..19b8e19 100644 --- a/src/blueshift_drm_c.c +++ b/src/blueshift_drm_c.c @@ -38,7 +38,7 @@ * * @return The number of cards present on the system */ -long card_count() +long blueshift_drm_card_count() { char* pathname = alloca(PATH_MAX * sizeof(char)); long len = strlen("/dev/dri/card"); @@ -65,7 +65,7 @@ int main(int argc, char** argv) (void) argv; - printf("%li\n", card_count()); + printf("%li\n", blueshift_drm_card_count()); return 0; } -- cgit v1.2.3-70-g09d2