summaryrefslogtreecommitdiff
path: root/tests/drmstat.c
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/drmstat.c
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/drmstat.c')
-rw-r--r--tests/drmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/drmstat.c b/tests/drmstat.c
index 5935d07a..c6ff1ffc 100644
--- a/tests/drmstat.c
+++ b/tests/drmstat.c
@@ -87,7 +87,7 @@ void handler(int fd, void *oldctx, void *newctx)
printf("Got fd %d\n", fd);
}
-void process_sigio(char *device)
+static void process_sigio(char *device)
{
int fd;