diff options
Diffstat (limited to 'src/blueshift_drm_c.c')
-rw-r--r-- | src/blueshift_drm_c.c | 4 |
1 files 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; } |