diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-12 02:32:02 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-12 02:32:02 +0100 |
commit | b9638429122dc3a6064784962bfac70fecf1659d (patch) | |
tree | 67ab5b21cfda704bab6f3aee9b19a89fdab846fe /src | |
parent | count graphic cards (diff) | |
download | blueshift-b9638429122dc3a6064784962bfac70fecf1659d.tar.gz blueshift-b9638429122dc3a6064784962bfac70fecf1659d.tar.bz2 blueshift-b9638429122dc3a6064784962bfac70fecf1659d.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-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; } |