summaryrefslogtreecommitdiff
path: root/tests/proptest
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/proptest
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/proptest')
-rw-r--r--tests/proptest/proptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/proptest/proptest.c b/tests/proptest/proptest.c
index 4b7234d2..9b2eb3f5 100644
--- a/tests/proptest/proptest.c
+++ b/tests/proptest/proptest.c
@@ -44,7 +44,7 @@ static inline int64_t U642I64(uint64_t val)
int fd;
drmModeResPtr res = NULL;
-const char *connector_type_str(uint32_t type)
+static const char *connector_type_str(uint32_t type)
{
switch (type) {
case DRM_MODE_CONNECTOR_Unknown: