summaryrefslogtreecommitdiff
path: root/tests/radeon
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2015-02-27 11:43:44 -0500
committerJan Vesely <jan.vesely@rutgers.edu>2015-03-15 14:17:02 -0400
commitd729d75f8449c6968f988d8b93ec33a1ba5a2c38 (patch)
tree2a72c6c69584a85c6ed46ac7032296f69dbea715 /tests/radeon
parent0706c14e7cc5f1d996bb1c3c526f877c4f8fc215 (diff)
Add static qualifier to local functions
v2: Don't bother marking dead functions static (handler, xf86VDrvMsgVerb, drmSetDebugMsgFunction) Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests/radeon')
-rw-r--r--tests/radeon/radeon_ttm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/radeon/radeon_ttm.c b/tests/radeon/radeon_ttm.c
index ac3297aa..8346e85b 100644
--- a/tests/radeon/radeon_ttm.c
+++ b/tests/radeon/radeon_ttm.c
@@ -32,7 +32,7 @@
/* allocate as many single page bo to try to starve the kernel
* memory zone (below highmem)
*/
-void ttm_starve_kernel_private_memory(int fd)
+static void ttm_starve_kernel_private_memory(int fd)
{
struct list_head list;
struct rbo *bo, *tmp;
@@ -55,7 +55,7 @@ void ttm_starve_kernel_private_memory(int fd)
}
}
-int radeon_open_fd(void)
+static int radeon_open_fd(void)
{
return drmOpen("radeon", NULL);
}