summaryrefslogtreecommitdiff
path: root/vtest
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-02-10 14:39:57 +1000
committerDave Airlie <airlied@redhat.com>2016-02-10 14:41:25 +1000
commit19bc426d27129ff8d5f71f4ad94a1f97672861fb (patch)
tree4c05436ddaf633334509e900724f06a2655a1522 /vtest
parentf8b42ca393b70f974bfe0a7fcdd83f8e865169ce (diff)
vtest: make some functions static.
These functions are only used here. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'vtest')
-rw-r--r--vtest/vtest_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vtest/vtest_server.c b/vtest/vtest_server.c
index c4af7f2..918639b 100644
--- a/vtest/vtest_server.c
+++ b/vtest/vtest_server.c
@@ -67,7 +67,7 @@ static int vtest_open_socket(const char *path)
return -1;
}
-int wait_for_socket_accept(int sock)
+static int wait_for_socket_accept(int sock)
{
fd_set read_fds;
int new_fd;
@@ -86,7 +86,7 @@ int wait_for_socket_accept(int sock)
return -1;
}
-int run_renderer(int in_fd, int out_fd)
+static int run_renderer(int in_fd, int out_fd)
{
int ret;
uint32_t header[VTEST_HDR_SIZE];